From 706af6ca4f3cf7986ca713f42c0b499bd1396121 Mon Sep 17 00:00:00 2001 From: Arnaud Ligny Date: Mon, 11 Dec 2023 19:00:49 +0100 Subject: [PATCH] doc: more details about themes --- docs/3-Templates.md | 15 +++++++++++++++ docs/4-Configuration.md | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/3-Templates.md b/docs/3-Templates.md index d3a4269ac..c51aa509a 100644 --- a/docs/3-Templates.md +++ b/docs/3-Templates.md @@ -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 `` with the following structure: + +```plaintext + +└─ themes + └─ + ├─ config.yml + ├─ assets + ├─ layouts + ├─ static + └─ translations +``` diff --git a/docs/4-Configuration.md b/docs/4-Configuration.md index 9b043d634..eccb91617 100644 --- a/docs/4-Configuration.md +++ b/docs/4-Configuration.md @@ -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