search for posts in sub-directories#12
Merged
Merged
Conversation
✅ Deploy Preview for blazorstatic ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…ubfolder/post-in-subfolder` will result in filename `blog/subfolder/post-in-subfolder`)
…ll correspond to url and original structure.
Collaborator
|
Nice, thanks for the addition.
Does that suit your needs now? How should we name the |
Contributor
Author
|
I think it can be renamed to just Also will this work with the media folder? i didn't use any media in my project so far so i didn't test if i can have subddirs there or not. |
Collaborator
|
The media folder works, it just copies the whole folder. Do you wish to add yourself as a co-author to the |
Contributor
Author
|
no that's fine, thanks for the help with this. |
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.
Just makes the program look for posts in sub-directories created under the content path which is how jekyll works.
This will help with organizing posts visually.
example (this doesn't wok on master):
One more thing that can be changed is the value of
FileNameNoExtension, instead of just the file's name it can also contain it's relative path to the content folder (eg.linux/setting-up-archinstead of justsetting-up-arch).Or the user can choose to add a field to their FrontMatter class to differentiate between posts.