feat: add multilingual mode support (#241)
BREAKING CHANGE: Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
This commit is contained in:
parent
42ebf067bb
commit
5c22ce57dc
88 changed files with 437 additions and 144 deletions
21
exampleSite/content/en/shortcodes/icons.md
Normal file
21
exampleSite/content/en/shortcodes/icons.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: Icons
|
||||
---
|
||||
|
||||
Simple shortcode to include icons from SVG sprites outside of menus.
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```tpl
|
||||
{{</* icon "thumbs-up" */>}}
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example:**
|
||||
|
||||
| Result | Usage |
|
||||
| -------------------------- | -------------------------------- |
|
||||
| {{< icon "thumbs-up" >}} | `{{</* icon "thumbs-up" */>}}` |
|
||||
| {{< icon "thumbs-down" >}} | `{{</* icon "thumbs-down" */>}}` |
|
||||
| {{< icon "laugh" >}} | `{{</* icon "laugh" */>}}` |
|
||||
| {{< icon "lemon" >}} | `{{</* icon "lemon" */>}}` |
|
||||
| {{< icon "moon" >}} | `{{</* icon "moon" */>}}` |
|
Loading…
Add table
Add a link
Reference in a new issue