Skip to content

Commit

Permalink
docs: referencing yaml config in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Dec 6, 2023
1 parent e635ab0 commit 102a550
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/yaml-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 102a550

Please sign in to comment.