ndg: add frontmatter support for overriding implicit context#143
Merged
ndg: add frontmatter support for overriding implicit context#143
Conversation
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I1449f465f5cc625efcfbbba6f50387f16a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Iac3da7393986c838d6326cdfcdfbd3636a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id0e632c85f55e20a5e811ac33d312b606a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I47b37bc982cf28b1c4b2cdda75648c7e6a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I22d93480e28b490d4cdf0778046e5fec6a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Iaa27b7b0d9c134e90d9cf1db2f4258d66a6a6964
…tml` Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ib616e1a8e7d2653e28b59468c5b006e96a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I1d6d31120f8d559b510a9f573a4552826a6a6964
Member
Author
|
builds for me I ain't waiting for this stupid GH CI |
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.
NDG now recognises a
+++-delimited TOML block at the top of any.mdfile. For now, those are the supported keys:title- overrides the (currently H1-derived) page titledescription/author- override globalmeta.tagsfor that pagetemplate- selects a specific Tera template instead of the defaulttoc- suppresses the table of contents when set tofalseextra- arbitrary user data, accessible in templates as{{ page.extra.key }}. Meant as a way of injecting arbitrary variables into the templating system from the sources.All fields are also exposed to Tera templates via page context objects.