in the tutorial for building a theme there's instructions to add <h1 style="color:{{ config.themes.antimatter.color }}">{{ config.themes.antimatter.info }}</h1> to the theme, but it doesn't specify where. I tried putting it in the .yaml file (didn't go there) and into the page.md file (didn't go there either). Where does it go?
Archive
You would put that in a twig template somewhere. Really this is just an example of how to configure a setting, then use that setting to affect rendering.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1332 | 9 years ago | ||
| 2 | 923 | 9 years ago | ||
| 2 | 4053 | 9 years ago | ||
| 1 | 2931 | 9 years ago | ||
| 3 | 1109 | 9 years ago |