mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-23 10:14:18 +00:00
docs: showcase page layout using type
frontmatter #891
This commit is contained in:
parent
6b5183481a
commit
f490174e4b
4 changed files with 28 additions and 4 deletions
exampleSite/content/shortcodes
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
ordersectionsby = "title"
|
||||
title = "Shortcodes"
|
||||
type = "chapter"
|
||||
type = "chapter-overview"
|
||||
weight = 3
|
||||
+++
|
||||
|
||||
|
@ -12,5 +12,3 @@ But this happens to be a bad idea. Everyone uses Markdown because it's pure and
|
|||
To avoid this limitations, Hugo created [shortcodes](https://gohugo.io/extras/shortcodes/). A shortcode is a simple snippet inside a page.
|
||||
|
||||
The Relearn theme provides multiple shortcodes on top of existing ones.
|
||||
|
||||
{{%children containerstyle="div" style="h2" description="true" %}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue