Skip to content

Conversation

@juandpinto
Copy link

Added an option to use post content as the slug. This is to address issue #90. It currently uses the first five words from the content. Would it be a good idea to allow for more variation? For example, changing the option to a numerical variable that identifies the number of words to use from the content.

There is a problem when contentSlug is true and the slug is used as part of filenameStyle (:year-:month-:day-:slug). Duplicate file names can occur, eg. when running server tests on https://micropub.rocks. In this case, an error is returned: HTTP/1.1 400 Bad Request. Would it be possible to check for duplicate filenames at the time of post creation?

Base automatically changed from master to main March 3, 2021 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant