Skip to content

Commit

Permalink
Minor contribution edits (#3)
Browse files Browse the repository at this point in the history
How did I miss that?
  • Loading branch information
mayamcdougall authored Oct 25, 2021
1 parent 11285f1 commit 0604ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _docs/creating-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Template: index
These values will be contained in the `{% raw %}{{ meta }}{% endraw %}` variable in themes (see below). Meta headers can sometimes have special functions. For example:

- `Date` tells Pico when the page was created, letting you sort your pages not just alphabetically, but by date.
- `Template` controls what Twig template Pico uses to display the page. For exaemple, if you add `Template: blog`, Pico uses `blog.twig`.
- `Template` controls what Twig template Pico uses to display the page. For example, if you add `Template: blog`, Pico uses `blog.twig`.

You can create your own meta attributes and use them in your content or when modifying a theme. For example, if you create an `Order` attribute, you can set `pages_order_by_meta: Order` and `pages_order_by: meta ` in `config.yml` to sort pages in the navigation menu in a custom order.

Expand Down

0 comments on commit 0604ddc

Please sign in to comment.