commit 36b7e785bffebe92d7925f667858a6234e83eeb6
parent b875f1fa75598f2b419e99ceb589fa955474aa32
Author: Hugo Soucy <hugo@soucy.cc>
Date: Fri, 25 Feb 2022 20:58:57 -0500
Add or modify content, happy new year
Diffstat:
17 files changed, 325 insertions(+), 21 deletions(-)
diff --git a/content/2021/nt/au-large-de-lhiver.lua b/content/2021/nt/au-large-de-lhiver.lua
@@ -1,9 +1,9 @@
return {
-title = "Au large de l'hiver",
+title = "Au large de l'hiver",
date = "2021-12-24",
datetime = "11:33:15",
posttype = "note",
-keywords = { "poème","humeur", },
+keywords = { "poésie","humeur", },
posse = {
mastodon = "https://mastodon.sdf.org/@hs0ucy/107502897424448092"
}
diff --git a/content/2021/nt/index.lua b/content/2021/nt/index.lua
@@ -1,7 +1,7 @@
return {
- date = "2021-01-01",
- datetime = "09:33:00",
- title = "Notes de 2021",
- template = "publications",
- pagination = 6
+ date = "2021-01-01",
+ datetime = "09:33:00",
+ title = "Notes de 2021",
+ template = "publications",
+ -- pagination = 6
}
diff --git a/content/2022/index.lua b/content/2022/index.lua
@@ -4,5 +4,6 @@ return {
title = "Publications de 2022",
template = "publications",
changefreq = "daily",
- priority = "1"
+ priority = "1",
+ pagination = 2
}
diff --git a/content/2022/mp/pine-needles.lua b/content/2022/mp/pine-needles.lua
@@ -0,0 +1,8 @@
+return {
+ title = "pine needles",
+ url = "http://cipay.ca/poems/pine-needles.html",
+ date = "2022-02-11",
+ datetime = "09:04:29",
+ posttype = "bookmark",
+ keywords = { "poem","poésie", }
+}
diff --git a/content/2022/mp/pine-needles.md b/content/2022/mp/pine-needles.md
@@ -0,0 +1,18 @@
+<http://cipay.ca/poems/pine-needles.html>
+
+> "somewhere in the world
+> where the coffee isn't bitter
+> and the rivers run to oceans
+> made of water, not of waste
+>
+> there exists a girl
+> who acts odd and peculiar
+> who smokes a pinecone pipe
+> and drinks pine needle tea
+>
+> i talked to her one day
+> when i walked through the forest
+> and she told me everything
+> that i should have always known"
+>
+> — by Linen
diff --git a/content/2022/mp/smol-pub.lua b/content/2022/mp/smol-pub.lua
@@ -0,0 +1,8 @@
+return {
+ title = "Smol Pub",
+ url = "https://smol.pub/",
+ date = "2022-02-11",
+ datetime = "10:11:18",
+ posttype = "bookmark",
+ keywords = { "service","gemini","gopher","smol web", }
+}
diff --git a/content/2022/mp/smol-pub.md b/content/2022/mp/smol-pub.md
@@ -0,0 +1,11 @@
+<https://smol.pub/>
+
+> "Smol Pub is tiny blogging service:
+>
+> * Web interface and CLI to manage your posts.
+> * Accessible from Web, Gemini and Gopher.
+> * Storage for your images.
+> * Write custom CSS for web.
+> * Attach your custom domain with SSL.
+> * Export your posts.
+> * No JavaScript, ads, or tracking technology."
diff --git a/content/2022/nt/cric-crac-croc.lua b/content/2022/nt/cric-crac-croc.lua
@@ -0,0 +1,10 @@
+return {
+title = "Cric crac croc",
+date = "2022-02-09",
+datetime = "14:02:36",
+posttype = "note",
+keywords = { "humeur", },
+posse = {
+ mastodon = "https://mastodon.sdf.org/@hs0ucy/107769601665673457"
+}
+}
diff --git a/content/2022/nt/cric-crac-croc.md b/content/2022/nt/cric-crac-croc.md
@@ -0,0 +1 @@
+Mon verre d'eau fait cric crac croc ...
diff --git a/content/2022/nt/index.lua b/content/2022/nt/index.lua
@@ -1,7 +1,6 @@
return {
- date = "2022-01-01",
- datetime = "09:33:00",
- title = "Notes de 2022",
- template = "publications",
- pagination = 6
+ date = "2022-01-01",
+ datetime = "09:33:00",
+ title = "Notes de 2022",
+ template = "publications"
}
diff --git a/content/2022/nt/savoir-et-croire.lua b/content/2022/nt/savoir-et-croire.lua
@@ -0,0 +1,10 @@
+return {
+title = "Savoir et croire",
+date = "2022-02-18",
+datetime = "10:20:27",
+posttype = "note",
+keywords = { "dune","frank herbert","citation", },
+posse = {
+ mastodon = "https://mastodon.sdf.org/web/statuses/107819714746984856"
+}
+}
diff --git a/content/2022/nt/savoir-et-croire.md b/content/2022/nt/savoir-et-croire.md
@@ -0,0 +1,6 @@
+> "Nous sommes éduqués à croire, et non à savoir. La croyance peut être
+> manipulée. Seul le savoir est dangereux." — Frank Herbert,
+> Extrait du Messie de Dune
+
+**Dune** est vraiment un puits à citations. Et elles semblent toujours
+faire écho aujourd'hui.
+\ No newline at end of file
diff --git a/content/a-propos.md b/content/a-propos.md
@@ -62,7 +62,7 @@ mon sous-sol, sur un **HP Mini 110** qui tourne sous *OpenBSD 7.0*. Le
monde en général s'en fout, je passe beaucoup de temps à enrichir mon
HTML avec celles-ci.
-* Je décris mes publications avec des **microformats** et du **RDFa lite**.
+* Je décris mes publications avec des [microformats](https://indiewebify.me/validate-h-card/?url=http://hugo.soucy.cc) et du **RDFa lite**.
* J'utilse des *link types* avec l'attribut `[rel]` pour décrire les
relations entre les documents.
* Un ficher [humans.txt](/humans.txt "We are people, not machines")
diff --git a/content/now.md b/content/now.md
@@ -76,13 +76,10 @@ technique.
## Soutiens et abonnements ##
* <ins>[Small Technology Foundation](https://small-tech.org/)</ins>
-* <ins>[Pivot](https://pivot.quebec/)</ins>
* [Dino](https://dino.im/ "Dino is a modern open-source chat client for the desktop.")
* [Le Filon](https://filon.ca/)
* [Pirate Production](https://pirateproduction.ca/)
- ([patreon](https://www.patreon.com/pirateprod))
-* [Fedi.quebec](https://fedi.quebec)
- ([liberapay](https://liberapay.com/manuelviens))
+* <del>Fedi.quebec</del> (hors service)
* [Wikimedia Foundation](https://wikimediafoundation.org/)
* [SDF.org](https://sdf.org/?welcome "The Super Dimension Fortress is a networked community. It is operated
as a recognized non-profit 501(c)(7) and is supported by its members.")
@@ -90,4 +87,4 @@ as a recognized non-profit 501(c)(7) and is supported by its members.")
* [Revue À bâbord!](https://www.ababord.org/)
* [Le Soleil](https://www.lesoleil.com/)
* [Le Devoir](https://www.ledevoir.com/)
-* <del>[La Presse](https://www.lapresse.ca)</del>
+* <del>[La Presse](https://www.lapresse.ca)</del> <ins>[Pivot](https://pivot.quebec/)</ins>
diff --git a/content/satelito-api.html b/content/satelito-api.html
@@ -0,0 +1,158 @@
+<h1>Documentation de l'API Satelito</h1>
+<h2>Propriétés globales</h2>
+<h3>Relatif à <i>config.lua</i></h3>
+
+<dl>
+ <dt id="language"><code>language</code></dt>
+ <dd>Détermine la langue globale d'un site. Sert surtout à l'attribut HTML <code>lang</code>. Idéalement avec un code à deux lettres.</dd>
+ <dd>Ce champ peut-être surclasser dans le fichier de configuration d'une page.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ language = "en",
+ </samp>
+ </pre>
+ </dd>
+
+ <dt id="mimetypes"><code>mimetypes</code></dt>
+ <dd>Liste des autres types de fichiers qui sont acceptés
+ pour faire partie du site.</dd>
+ <dd>type <small>table</small></dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>
+ <pre><code>
+ mimetypes = {
+ 'image/svg+xml',
+ 'image/gif',
+ 'image/jpeg',
+ 'image/png',
+ 'application/pdf',
+ },</code></pre>
+ </dd>
+
+ <dt id="paths"><code>paths</code></dt>
+ <dd>Contient par défaut trois champs qui correspondent à des
+ chemins vers des répertoires qui permettent de contruire et
+ exporter les pages d'un site.
+ <ul>
+ <li><code>paths.content</code> <small>(string)</small>,
+ représente le chemin qui mène à la source des contenus du
+ site.</li>
+ <li><code>paths.templates</code> <small>(string)</small>,
+ est le chemin vers le répertoire des gabarits HTML/etlua.</li>
+ <li><code>paths.public_html</code> <small>(string)</small>,
+ représente le chemin vers le répertoire de destination du
+ site.</li>
+ </ul>
+ <dd>D'autres sortes de chemins peuvent être ajouté à cette table.</dd>
+ <dd>
+ <pre>
+ <samp>
+ paths = {
+ content = 'content/',
+ templates = 'templates/',
+ public_html = 'public_html/',
+ },
+ </samp>
+ </pre>
+ </dd>
+ </dd>
+
+ <dd>type <small>table</small></dd>
+ <dd>requis <small>oui</small></dd>
+
+ <dt id="sitemapxml"><code>sitemapxml</code></dt>
+ <dd>Permet d'activer la création d'un fichier <samp>sitemap.xml</samp>.</dd>
+ <dd>type <small>boolean</small></dd>
+ <dd>requis <small>non</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ sitemapxml = true,
+ </samp>
+ </pre>
+ </dd>
+
+ <dt id="siteurl"><code>siteurl</code></dt>
+ <dd>Adresse de votre site. Elle est utilisée pour créer les permaliens des pages.</dd>
+ <dd>type <small>string</small></dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>
+ <pre>
+ <samp>siteurl = "https://grgmelies.com",</samp>
+ </pre>
+ </dd>
+</dl>
+
+<hr/>
+
+<h2>Propriétés spécifiques</h2>
+<h3>Relatif à <i>[page].lua</i></h3>
+
+<dl>
+ <dt id="title"><code>title</code></dt>
+ <dd>Représente le titre d'une page.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ title = "Lorem ipsum title",
+ </samp>
+ </pre>
+ </dd>
+ <dt id="date"><code>date</code></dt>
+ <dd>Représente la date de publication d'une page au format <i>yyyy-mm-dd</i>.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ date = "2012-11-21",
+ </samp>
+ </pre>
+ </dd>
+ <dt id="datetime"><code>datetime</code></dt>
+ <dd>Représente l'heure de publication d'une page au format <i>hh:mm:ss</i>.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ datetime = "14:58:00",
+ </samp>
+ </pre>
+ </dd>
+ <dt id="rellink"><code>rellink</code></dt>
+ <dd>Correspond au chemin relatif d'une page avec la racine du site.</dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ Exemple d'utilisation dans un template:
+ <pre>
+ <samp>
+ <a
+ <% if rellink == '/archives.html' then %>
+ aria-current="page"
+ <% end %>
+ href="/archives.html">Archives</a>
+ </samp>
+ </pre>
+ </dd>
+ <dt id="permalink"><code>permalink</code></dt>
+ <dd>Correspond au chemin relatif d'une page avec la racine du site.</dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ Exemple d'utilisation dans un template:
+ <pre>
+ <samp>
+ <a
+ <% if rellink == '/archives.html' then %>
+ aria-current="page"
+ <% end %>
+ href="/archives.html">Archives</a>
+ </samp>
+ </pre>
+ </dd>
+</dl>
diff --git a/content/satelito-api.lua b/content/satelito-api.lua
@@ -0,0 +1,6 @@
+return {
+ title = "Documentation de l'API Satelito",
+ date = "2021-04-09",
+ datetime = "14:34:50",
+ keywords = { "lua","api","satelito" },
+}
diff --git a/drafts/satelito-api.html b/drafts/satelito-api.html
@@ -19,8 +19,8 @@
<main>
<div>
<h1>API Satelito</h1>
- <h2>Champs globaux</h2>
- <h3>Relatifs à <i>config.lua</i></h3>
+ <h2>Propriétés globales</h2>
+ <h3>Relatif à <i>config.lua</i></h3>
<dl>
<dt id="language"><code>language</code></dt>
@@ -107,7 +107,77 @@
<samp>siteurl = "https://grgmelies.com",</samp>
</pre>
</dd>
+ </dl>
+
+ <hr/>
+
+ <h2>Propriétés spécifiques</h2>
+ <h3>Relatif à <i>[page].lua</i></h3>
+ <dl>
+ <dt id="title"><code>title</code></dt>
+ <dd>Représente le titre d'une page.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ title = "Lorem ipsum title",
+ </samp>
+ </pre>
+ </dd>
+ <dt id="date"><code>date</code></dt>
+ <dd>Représente la date de publication d'une page au format <i>yyyy-mm-dd</i>.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ date = "2012-11-21",
+ </samp>
+ </pre>
+ </dd>
+ <dt id="datetime"><code>datetime</code></dt>
+ <dd>Représente l'heure de publication d'une page au format <i>hh:mm:ss</i>.</dd>
+ <dd>requis <small>oui</small></dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ <pre>
+ <samp>
+ datetime = "14:58:00",
+ </samp>
+ </pre>
+ </dd>
+ <dt id="rellink"><code>rellink</code></dt>
+ <dd>Correspond au chemin relatif d'une page avec la racine du site.</dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ Exemple d'utilisation dans un template:
+ <pre>
+ <samp>
+ <a
+ <% if rellink == '/archives.html' then %>
+ aria-current="page"
+ <% end %>
+ href="/archives.html">Archives</a>
+ </samp>
+ </pre>
+ </dd>
+ <dt id="permalink"><code>permalink</code></dt>
+ <dd>Correspond au chemin relatif d'une page avec la racine du site.</dd>
+ <dd>type <small>string</small></dd>
+ <dd>
+ Exemple d'utilisation dans un template:
+ <pre>
+ <samp>
+ <a
+ <% if rellink == '/archives.html' then %>
+ aria-current="page"
+ <% end %>
+ href="/archives.html">Archives</a>
+ </samp>
+ </pre>
+ </dd>
</dl>
</div>
</main>