From 102a550add6be3dd2c92417615087af2205c1e77 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 6 Dec 2023 11:19:43 -0500 Subject: [PATCH] docs: referencing yaml config in templates --- docs/guide/yaml-config.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide/yaml-config.md b/docs/guide/yaml-config.md index 1a50956eb..01d325ddb 100644 --- a/docs/guide/yaml-config.md +++ b/docs/guide/yaml-config.md @@ -14,6 +14,10 @@ Configure your site metadata, rendering configuration and such using YAML config Notice how this page's sidebar colorscheme has [changed to green]{.greenery}? View [the source of this page](https://github.com/srid/emanote/blob/master/docs/guide/yaml-config.md) to see the magic involved. That CSS greenery you just saw too comes from YAML. +>[!tip] Using in HTML templates +> You can reference the YAML frontmatter config from [[html-template]]. See [here](https://github.com/srid/emanote/discussions/131#discussioncomment-1382189) for details. + + ## Examples - https://github.com/srid/srid/blob/master/index.yaml