Skip to content

Commit

Permalink
doc: more details about themes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Dec 11, 2023
1 parent 9a21bcb commit 706af6c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/3-Templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -1266,3 +1266,18 @@ php cecil.phar util:extract
:::tip
You can add custom [functions](3-Templates.md#functions) and [filters](3-Templates.md#filters) with a [_Renderer extension_](7-Extend.md#renderer-extension).
:::

## Theme

It’s easy to build a Cecil theme: you just have to create a folder `<theme>` with the following structure:

```plaintext
<mywebsite>
└─ themes
└─ <theme>
├─ config.yml
├─ assets
├─ layouts
├─ static
└─ translations
```
2 changes: 1 addition & 1 deletion docs/4-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ theme:
```

:::info
See [themes on GitHub](https://github.com/Cecilapp?q=theme#org-repositories) or website [themes section](https://cecil.app/themes/).
See [themes on GitHub](https://github.com/Cecilapp?q=theme#org-repositories) or on website [themes section](https://cecil.app/themes/).
:::

### virtual pages
Expand Down

0 comments on commit 706af6c

Please sign in to comment.