Skip to content

Commit

Permalink
Merge pull request #182 from SimonMarquis/patch-1
Browse files Browse the repository at this point in the history
Fix typo in `Rich Markdown Pages` docs
  • Loading branch information
fralau authored Oct 16, 2023
2 parents 9dba19e + 1c1d2c4 commit c64a08d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webdoc/docs/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ For example, if the the header is as follows:
---
title: My special title
bottles:
whine: 500
wine: 500
beer: 123
---
```

Then you can access the content of the YAML header in two ways:

1. By name e.g. `{{ title }}` and `{{ bottles.whine }}`
1. By name e.g. `{{ title }}` and `{{ bottles.wine }}`
1. Explicitly, i.e. using the dot notation, e.g.
`{{ page.meta.title }}` and `{{ page.meta.bottles.whine }}`.
`{{ page.meta.title }}` and `{{ page.meta.bottles.wine }}`.

If used, the `title` variable will be used for the page's title and
in the navigation of the website (unless specified in the config file). It does not alter the content of the page itself.
Expand Down

0 comments on commit c64a08d

Please sign in to comment.