Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose posts pages to both server and build #86

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

NTBBloodbath
Copy link
Owner

This commit adds the possibility to expose all content files at my-site/posts/ which are then accessible inside the templates allowing for some niceties like creating a Recent posts list template.

It does expose a posts array as part of the templates context, which holds the metadata from all the blog posts including an extra permalink field and also a raw field with the HTML code for the post.


Follow-up PR for #85 because I've forgotten to create a new commit on jujutsu and now the commit history is fucked up.

This commit adds the possibility to expose all content files at `my-site/posts/` which are then accessible inside the templates allowing for some niceties like creating a Recent posts list template
@NTBBloodbath NTBBloodbath merged commit fe12c72 into master Mar 4, 2025
3 of 4 checks passed
@NTBBloodbath NTBBloodbath deleted the push-ptlpkrytlylo branch March 4, 2025 13:35
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