Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up templates and unify template metadata
This exposes more site-specific information to templates. Top-level _index(.gmi).md is now treated by the templating code the same way per-directory indices are (which introduces a breaking change: top-level posts now receive .Posts instead of .PostData). Web-specific metadata is now removed from the RSS. This makes gmnhg usable out of the box to generate a reasonable site with zero configuration even with pages with no metadata.
- Loading branch information
Showing
2 changed files
with
53 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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