Merged
Conversation
Owner
|
Regarding the description, it can be added as an optional field to the content Option, if not defined it is None. On template we can check for description, or if None, use the current approach of taking the excerpt. We can move that to a template macro if becomes too complex. Some SSGs also have the concept of stop marks # Title
This is the description of the content,
<-- more -->
Content continues.
Then on processing it splits the part before the marker to |
Contributor
Author
|
Ok, cool ... I'll fix the branch to follow the approach you comment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sorry, had to open a small fix for this ... I added the
trim_start_matchesat the end of the options, but probably would be better to become first and then truncate (just to keep the 100 chars correct).Also, if you find it useful I create this branch which checks for a
descriptionfield in the metadata of .md (just like title). I don't like because it needs to reprocess the html to get the description.But ...
https://github.com/rochacbruno/marmite/compare/main...rdenadai:repeated-title-annoyance-complex?expand=1