<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://demo.cecil.app/skeleton/xsl/atom.xsl" media="all"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>http://demo.cecil.app/skeleton/docs/</id>
  <title>New website - Documentation</title>
  <subtitle><![CDATA[A website created with Cecil static site generator.]]></subtitle>
  <link href="http://demo.cecil.app/skeleton/docs/atom.xml" rel="self" type="application/atom+xml" />
  <link href="http://demo.cecil.app/skeleton/docs/" rel="alternate" type="text/html" />
  <updated>2026-11-22T15:46:31+00:00</updated>
  <author>
    <name>New website</name>
    <uri>http://demo.cecil.app/skeleton/</uri>
  </author>
  <entry xml:lang="en">
    <id>http://demo.cecil.app/skeleton/docs/configuration/</id>
    <title>Configuration</title>
    <published>1970-01-01T00:00:00+00:00</published>
    <link href="http://demo.cecil.app/skeleton/docs/configuration/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Configuration</h1>
<p>The website is configured in the <code translate="no">cecil.yml</code> file, at the root of the project.</p>
<h2 id="main-options">Main options<a class="heading-anchor" href="#main-options" aria-hidden="true" tabindex="-1"></a></h2>
<pre data-lang="yaml"><code class="language-yaml hljs yaml" translate="no"><span class="hljs-attr">title:</span> <span class="hljs-string">Site</span> <span class="hljs-string">title</span>
<span class="hljs-attr">baseline:</span> <span class="hljs-string">Site</span> <span class="hljs-string">baseline</span>
<span class="hljs-attr">baseurl:</span> <span class="hljs-string">https://domain.tld/</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">Site</span> <span class="hljs-string">description.</span>
<span class="hljs-attr">language:</span> <span class="hljs-string">en</span></code></pre>
<ul>
<li><code translate="no">title</code>, <code translate="no">baseline</code> and <code translate="no">description</code> are used in templates and meta tags</li>
<li><code translate="no">baseurl</code> is the URL of the website once deployed</li>
<li><code translate="no">language</code> is the main language code of the content</li>
</ul>
<h2 id="menus">Menus<a class="heading-anchor" href="#menus" aria-hidden="true" tabindex="-1"></a></h2>
<p>Pages are added to a menu with the <code translate="no">menu</code> variable of their front matter:</p>
<pre data-lang="yaml"><code class="language-yaml hljs yaml" translate="no"><span class="hljs-meta">---</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">About</span>
<span class="hljs-attr">menu:</span>
  <span class="hljs-attr">main:</span>
    <span class="hljs-attr">weight:</span> <span class="hljs-number">30</span>
<span class="hljs-meta">---</span></code></pre>
<p>Other entries can be added in the configuration:</p>
<pre data-lang="yaml"><code class="language-yaml hljs yaml" translate="no"><span class="hljs-attr">menus:</span>
  <span class="hljs-attr">main:</span>
    <span class="hljs-bullet">-</span> <span class="hljs-attr">id:</span> <span class="hljs-string">github</span>
      <span class="hljs-attr">name:</span> <span class="hljs-string">GitHub</span>
      <span class="hljs-attr">url:</span> <span class="hljs-string">https://github.com/</span>
      <span class="hljs-attr">weight:</span> <span class="hljs-number">99</span></code></pre>
<h2 id="learn-more">Learn more<a class="heading-anchor" href="#learn-more" aria-hidden="true" tabindex="-1"></a></h2>
<p>All the options are described in the <a href="https://cecil.app/documentation/configuration/" rel="noopener noreferrer">configuration documentation</a>.</p>]]>
    </content>
  </entry>
  <entry xml:lang="en">
    <id>http://demo.cecil.app/skeleton/docs/authoring-content/</id>
    <title>Authoring content</title>
    <published>1970-01-01T00:00:00+00:00</published>
    <link href="http://demo.cecil.app/skeleton/docs/authoring-content/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Authoring content in Markdown</h1>
<p>Cecil supports the <a href="https://cecil.app/documentation/content/markdown/" rel="noopener noreferrer">Markdown</a> syntax in <code translate="no">.md</code> files, as well as a <a href="https://cecil.app/documentation/content/front-matter/" rel="noopener noreferrer">front matter</a> to define variables.</p>
<p><strong>Table of contents:</strong></p>
<div id="toc"><ul>
<li class="toc-level-2"><a href="#page-structure">Page structure</a></li>
<li class="toc-level-2"><a href="#inline-style">Inline style</a></li>
<li class="toc-level-2"><a href="#links">Links</a></li>
<li class="toc-level-2"><a href="#attributes">Attributes</a></li>
<li class="toc-level-2"><a href="#images">Images</a></li>
<li class="toc-level-2"><a href="#embedded-content">Embedded content</a></li>
<li class="toc-level-2"><a href="#lists">Lists</a></li>
<li class="toc-level-2"><a href="#blockquote">Blockquote</a></li>
<li class="toc-level-2"><a href="#code-block">Code block</a></li>
<li class="toc-level-2"><a href="#table">Table</a></li>
<li class="toc-level-2"><a href="#definition-list">Definition list</a></li>
<li class="toc-level-2"><a href="#footnotes-and-abbreviations">Footnotes and abbreviations</a></li>
<li class="toc-level-2"><a href="#notes">Notes</a></li>
<li class="toc-level-2"><a href="#tabs-steps-and-accordion">Tabs, steps and accordion</a></li>
<li class="toc-level-2"><a href="#horizontal-rule">Horizontal rule</a></li>
</ul>
</div>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">[toc]</code></pre>
<aside class="note note-tip"><p>The table of contents of the other pages of this section is displayed by their template (<code translate="no">layouts/docs/page.html.twig</code>): this page disables it with <code translate="no">toc: false</code> in its front matter, and uses the <code translate="no">[toc]</code> Markdown tag instead.</p></aside>
<h2 id="page-structure">Page structure<a class="heading-anchor" href="#page-structure" aria-hidden="true" tabindex="-1"></a></h2>
<p>Cecil automatically uses the file name as the page title, but you can define the title and other variables in the <a href="https://cecil.app/documentation/content/front-matter/" rel="noopener noreferrer">front matter</a>.</p>
<p>You can structure content with headings, indicated by a number of <code translate="no">#</code> at the start of the line.</p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">---
title: Page title
<span class="hljs-section">description: Page short description.
---</span>
<span class="hljs-section"># Page title</span>

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

<span class="hljs-section">## Heading</span>

Lorem ipsum dolor sit amet, consectetur adipiscing elit.</code></pre>
<h2 id="inline-style">Inline style<a class="heading-anchor" href="#inline-style" aria-hidden="true" tabindex="-1"></a></h2>
<p>Text can be <strong>bold</strong>, <em>italic</em>, or <del>strikethrough</del>, and <code translate="no">inline code</code> is highlighted with backticks.</p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">Text can be <span class="hljs-strong">**bold**</span>, <span class="hljs-emphasis">_italic_</span>, or ~~strikethrough~~, and <span class="hljs-code">`inline code`</span> is highlighted with backticks.</code></pre>
<h2 id="links">Links<a class="heading-anchor" href="#links" aria-hidden="true" tabindex="-1"></a></h2>
<p>You can link to <a href="/skeleton/about/">a Markdown file</a>, to <a href="http://demo.cecil.app/skeleton/blog/welcome/">a page by its ID</a>, or to <a href="https://cecil.app" rel="noopener noreferrer">an external website</a>.</p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">You can link to [<span class="hljs-string">a Markdown file</span>](<span class="hljs-link">../about.md</span>), to [<span class="hljs-string">a page by its ID</span>](<span class="hljs-link">page:blog/welcome</span>), or to [<span class="hljs-string">an external website</span>](<span class="hljs-link">https://cecil.app</span>).</code></pre>
<h2 id="attributes">Attributes<a class="heading-anchor" href="#attributes" aria-hidden="true" tabindex="-1"></a></h2>
<p>An ID, classes and attributes can be added to headings, links and images:</p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no"><span class="hljs-section">## Heading {#my-id .my-class}</span></code></pre>
<h2 id="images">Images<a class="heading-anchor" href="#images" aria-hidden="true" tabindex="-1"></a></h2>
<p>Images are processed by Cecil: they are searched in <code translate="no">assets/</code> and <code translate="no">static/</code> directories.</p>
<img src="http://demo.cecil.app/skeleton/thumbnails/128x/icon.dab3c811d8b2ba2f9bafb82de35cb0d9.png" alt="Cecil icon" title="Cecil icon" width="128" loading="lazy" decoding="async" height="128">
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">![<span class="hljs-string">Cecil icon</span>](<span class="hljs-link">/icon.png "Cecil icon"</span>){width=128}</code></pre>
<p>The <code translate="no">width</code> attribute resizes the image. A relative path is also supported:</p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">![<span class="hljs-string">Cecil icon</span>](<span class="hljs-link">../../assets/icon.png "Cecil icon"</span>)</code></pre>
<h2 id="embedded-content">Embedded content<a class="heading-anchor" href="#embedded-content" aria-hidden="true" tabindex="-1"></a></h2>
<p>A link to a video (YouTube, Vimeo, Dailymotion) or a GitHub Gist can be embedded with the <code translate="no">{embed}</code> attribute:</p>
<p><div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;">
<iframe src="https://www.youtube-nocookie.com/embed/ur8koU0iYvc" loading="lazy" width="640" height="360" title="CECIL : LE générateur de SITES STATIQUES en PHP" frameborder="0" allow="accelerometer;autoplay;encrypted-media;gyroscope;picture-in-picture;fullscreen;web-share;" allowfullscreen="" style="position:absolute;top:0;left:0;width:100%;height:100%;border:0;background-color:#d8d8d8;"></iframe>
</div></p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">[<span class="hljs-string">CECIL : LE générateur de SITES STATIQUES en PHP</span>](<span class="hljs-link">https://www.youtube.com/watch?v=ur8koU0iYvc</span>){embed}</code></pre>
<h2 id="lists">Lists<a class="heading-anchor" href="#lists" aria-hidden="true" tabindex="-1"></a></h2>
<ul>
<li>Unordered list</li>
<li>Unordered list<ul>
<li>Level 2</li>
<li>Level 2</li>
</ul>
</li>
</ul>
<ol>
<li>Ordered list</li>
<li>Ordered list</li>
<li>Ordered list</li>
</ol>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no"><span class="hljs-bullet">- </span>Unordered list
<span class="hljs-bullet">- </span>Unordered list
<span class="hljs-bullet">  - </span>Level 2
<span class="hljs-bullet">  - </span>Level 2
<span class="hljs-bullet">
1. </span>Ordered list
<span class="hljs-bullet">2. </span>Ordered list
<span class="hljs-bullet">3. </span>Ordered list</code></pre>
<h2 id="blockquote">Blockquote<a class="heading-anchor" href="#blockquote" aria-hidden="true" tabindex="-1"></a></h2>
<blockquote>
<p>This is a blockquote, which is commonly used when quoting another person or document.</p>
<p>Blockquotes are indicated by a <code translate="no">&gt;</code> at the start of each line.</p>
</blockquote>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no"><span class="hljs-quote">&gt; This is a blockquote, which is commonly used when quoting another person or document.</span>
<span class="hljs-quote">&gt;
&gt; Blockquotes are indicated by a `&gt;` at the start of each line.</span></code></pre>
<h2 id="code-block">Code block<a class="heading-anchor" href="#code-block" aria-hidden="true" tabindex="-1"></a></h2>
<p>A code block is indicated by three backticks at the start and end. You can indicate the programming language after the opening backticks.</p>
<pre data-lang="javascript"><code class="language-javascript hljs javascript" translate="no"><span class="hljs-comment">// JavaScript code</span>
<span class="hljs-keyword">const</span> greeting = <span class="hljs-function">(<span class="hljs-params">name</span>) =&gt;</span> <span class="hljs-string">`Hello <span class="hljs-subst">${name}</span>!`</span>;
<span class="hljs-built_in">console</span>.log(greeting(<span class="hljs-string">'Cecil'</span>));</code></pre>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no"><span class="hljs-code">```javascript
// JavaScript code
const greeting = (name) =&gt; `Hello ${name}!`;
console.log(greeting('Cecil'));
```</span></code></pre>
<h2 id="table">Table<a class="heading-anchor" href="#table" aria-hidden="true" tabindex="-1"></a></h2>
<table>
<thead>
<tr>
<th style="text-align: left;">Command</th>
<th style="text-align: left;">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;"><code translate="no">new:site</code></td>
<td style="text-align: left;">Creates a new website</td>
</tr>
<tr>
<td style="text-align: left;"><code translate="no">new:page</code></td>
<td style="text-align: left;">Creates a new page</td>
</tr>
<tr>
<td style="text-align: left;"><code translate="no">serve</code></td>
<td style="text-align: left;">Starts the local server</td>
</tr>
<tr>
<td style="text-align: left;"><code translate="no">build</code></td>
<td style="text-align: left;">Builds the website</td>
</tr>
</tbody>
</table>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">| Command    | Description              |
|:-----------|:-------------------------|
| <span class="hljs-code">`new:site`</span> | Creates a new website    |
| <span class="hljs-code">`new:page`</span> | Creates a new page       |
| <span class="hljs-code">`serve`</span>    | Starts the local server  |
| <span class="hljs-code">`build`</span>    | Builds the website       |</code></pre>
<h2 id="definition-list">Definition list<a class="heading-anchor" href="#definition-list" aria-hidden="true" tabindex="-1"></a></h2>
<dl>
<dt>Front matter</dt>
<dd>Variables of the page, at the beginning of the file.</dd>
<dt>Body</dt>
<dd>Content of the page, written in Markdown.</dd>
</dl>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">Front matter
: Variables of the page, at the beginning of the file.

Body
: Content of the page, written in Markdown.</code></pre>
<h2 id="footnotes-and-abbreviations">Footnotes and abbreviations<a class="heading-anchor" href="#footnotes-and-abbreviations" aria-hidden="true" tabindex="-1"></a></h2>
<p>Cecil is written in PHP<sup id="fnref1:1"><a href="#fn:1" class="footnote-ref">1</a></sup> and generates <abbr title="HyperText Markup Language">HTML</abbr>.</p>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">Cecil is written in PHP[^1] and generates HTML.

[<span class="hljs-symbol">^1</span>]: <span class="hljs-link">PHP is a popular general-purpose scripting language.</span>

*[HTML]: HyperText Markup Language</code></pre>
<h2 id="notes">Notes<a class="heading-anchor" href="#notes" aria-hidden="true" tabindex="-1"></a></h2>
<aside class="note note-info"><p>Info note.</p></aside>
<aside class="note note-tip"><p>Tip note.</p></aside>
<aside class="note note-important"><p>Important note.</p></aside>
<aside class="note note-warning"><p>Warning note.</p></aside>
<aside class="note note-caution"><p>Caution note.</p></aside>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">:::info|tip|important|warning|caution
Note here.
:::</code></pre>
<h2 id="tabs-steps-and-accordion">Tabs, steps and accordion<a class="heading-anchor" href="#tabs-steps-and-accordion" aria-hidden="true" tabindex="-1"></a></h2>
<div class="note note-steps" id="note-steps-1">
  <ol class="note-steps-list">
    <li class="note-step">
      <h4>Create a page</h4>
      <pre data-lang="bash"><code class="language-bash hljs bash" translate="no">cecil new:page</code></pre>
    </li>
    <li class="note-step">
      <h4>Preview it</h4>
      <pre data-lang="bash"><code class="language-bash hljs bash" translate="no">cecil serve</code></pre>
    </li>
  </ol>
</div>
<div class="note note-accordion" id="note-accordion-2">
  <details class="note-accordion-item">
    <summary>Is PHP required?</summary>
    <div class="note-accordion-content">
      <p>No: the standalone binary embeds PHP.</p>
    </div>
  </details>
  <details class="note-accordion-item">
    <summary>Where is the generated website?</summary>
    <div class="note-accordion-content">
      <p>In the <code translate="no">_site/</code> directory.</p>
    </div>
  </details>
</div>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">:::steps
<span class="hljs-section">#### Create a page</span>

<span class="hljs-code">```bash
cecil new:page
```</span>

<span class="hljs-section">#### Preview it</span>

<span class="hljs-code">```bash
cecil serve
```</span>
:::

:::accordion
<span class="hljs-section">#### Is PHP required?</span>

No: the standalone binary embeds PHP.

<span class="hljs-section">#### Where is the generated website?</span>

In the <span class="hljs-code">`_site/`</span> directory.
:::</code></pre>
<h2 id="horizontal-rule">Horizontal rule<a class="heading-anchor" href="#horizontal-rule" aria-hidden="true" tabindex="-1"></a></h2>
<p>A horizontal rule is indicated by three dashes on their own line:</p>
<hr>
<pre data-lang="markdown"><code class="language-markdown hljs markdown" translate="no">---</code></pre>
<div class="footnotes">
<hr>
<ol>
<li id="fn:1">
<p>PHP is a popular general-purpose scripting language.&#160;<a href="#fnref1:1" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
</ol>
</div>]]>
    </content>
  </entry>
  <entry xml:lang="en">
    <id>http://demo.cecil.app/skeleton/docs/templates/</id>
    <title>Templates</title>
    <published>1970-01-01T00:00:00+00:00</published>
    <link href="http://demo.cecil.app/skeleton/docs/templates/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Templates</h1>
<p>The <a href="https://twig.symfony.com/" rel="noopener noreferrer">Twig</a> templates of the <code translate="no">layouts/</code> directory override the built-in ones.</p>
<h2 id="main-template">Main template<a class="heading-anchor" href="#main-template" aria-hidden="true" tabindex="-1"></a></h2>
<p><code translate="no">layouts/page.html.twig</code> extends the built-in template and overrides some of its blocks:</p>
<ul>
<li><code translate="no">head_css</code>: adds the <code translate="no">assets/css/style.scss</code> stylesheet, compiled by Cecil</li>
<li><code translate="no">footer</code>: adds the links listed in the <code translate="no">data/links.yaml</code> data file</li>
</ul>
<pre data-lang="twig"><code class="language-twig hljs twig" translate="no"><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">extends</span></span> '_default/page.html.twig' %}</span><span class="xml">

</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-keyword">block</span></span> head_css ~%}</span><span class="xml">
  </span><span class="hljs-template-variable">{{- <span class="hljs-name">parent</span><span class="hljs-params">()</span> ~}}</span><span class="xml">
  </span><span class="hljs-template-variable">{{ css(asset('css/style.scss')) }}</span><span class="xml">
</span><span class="hljs-template-tag">{%- <span class="hljs-name"><span class="hljs-keyword">endblock</span></span> head_css ~%}</span></code></pre>
<h2 id="section-templates">Section templates<a class="heading-anchor" href="#section-templates" aria-hidden="true" tabindex="-1"></a></h2>
<p>The pages of a section can use their own templates, stored in a directory named after the section:</p>
<ul>
<li><code translate="no">layouts/blog/list.html.twig</code>: the list of posts</li>
<li><code translate="no">layouts/blog/page.html.twig</code>: a post</li>
<li><code translate="no">layouts/docs/page.html.twig</code>: a page of the documentation, with a table of contents</li>
</ul>
<h2 id="data-files">Data files<a class="heading-anchor" href="#data-files" aria-hidden="true" tabindex="-1"></a></h2>
<p>The files of the <code translate="no">data/</code> directory are available in templates through the <code translate="no">site.data</code> variable:</p>
<pre data-lang="twig"><code class="language-twig hljs twig" translate="no"><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">for</span></span> link in site.data.links %}</span><span class="xml">
  <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{ link.url }}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>&gt;</span></span><span class="hljs-template-variable">{{ link.name }}</span><span class="xml"><span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
</span><span class="hljs-template-tag">{% <span class="hljs-name"><span class="hljs-keyword">endfor</span></span> %}</span></code></pre>
<h2 id="learn-more">Learn more<a class="heading-anchor" href="#learn-more" aria-hidden="true" tabindex="-1"></a></h2>
<p>See the <a href="https://cecil.app/documentation/templates/" rel="noopener noreferrer">templates documentation</a>.</p>]]>
    </content>
  </entry>
</feed>
