瀏覽代碼

Compacting homepage

master
David Larlet 3 年之前
父節點
當前提交
7d0b152e9f
共有 4 個文件被更改,包括 241 次插入324 次删除
  1. 183
    277
      david/index.html
  2. 49
    45
      david/templates/profil.html
  3. 1
    1
      requirements.txt
  4. 8
    1
      site.py

+ 183
- 277
david/index.html 查看文件

@@ -72,243 +72,149 @@
<h2>Publication récentes</h2>

<nav>
<ul>
<li><a href="/david/2021/05/07/">Jour 2</a> (2021-05-07)</li>
<li><a href="/david/2021/05/06/">Jour 1</a> (2021-05-06)</li>
<li><a href="/david/2021/05/05/">Accessibilité</a> (2021-05-05)</li>
<li><a href="/david/2021/05/04/">Touriste</a> (2021-05-04)</li>
<li><a href="/david/2021/05/03/">Pop culture</a> (2021-05-03)</li>
<li><a href="/david/2021/04/30/">Produit</a> (2021-04-30)</li>
<li><a href="/david/2021/04/29/">Coût</a> (2021-04-29)</li>
<li><a href="/david/2021/04/28/">Politique</a> (2021-04-28)</li>
<li><a href="/david/2021/04/27/">Cheminement</a> (2021-04-27)</li>
<li><a href="/david/2021/04/26/">Mourir</a> (2021-04-26)</li>
<li><a href="/david/2021/04/25/">Complot</a> (2021-04-25)</li>
<li><a href="/david/2021/04/24/">Répartie</a> (2021-04-24)</li>
<li><a href="/david/2021/04/23/">Contemplation</a> (2021-04-23)</li>
<li><a href="/david/2021/04/22/">Vacances</a> (2021-04-22)</li>
<li><a href="/david/2021/04/21/">Montage</a> (2021-04-21)</li>
<li><a href="/david/2021/04/20/">Remote</a> (2021-04-20)</li>
<li><a href="/david/2021/04/19/">Conversions</a> (2021-04-19)</li>
<li><a href="/david/2021/04/18/">Jour 3</a> (2021-04-18)</li>
<li><a href="/david/2021/04/17/">Jour 2</a> (2021-04-17)</li>
<li><a href="/david/2021/04/16/">Jour 1</a> (2021-04-16)</li>
<li><a href="/david/2021/04/15/">Dark mode</a> (2021-04-15)</li>
<li><a href="/david/2021/04/14/">Trending</a> (2021-04-14)</li>
<li><a href="/david/2021/04/13/">Nonnes</a> (2021-04-13)</li>
<li><a href="/david/2021/04/12/">Alcool</a> (2021-04-12)</li>
<li><a href="/david/2021/04/11/">Apocalypse</a> (2021-04-11)</li>
<li><a href="/david/2021/04/10/">Autrement</a> (2021-04-10)</li>
<li><a href="/david/2021/04/09/">Maximiser</a> (2021-04-09)</li>
<li><a href="/david/2021/04/08/">NetNewsWire</a> (2021-04-08)</li>
<li><a href="/david/2021/04/06/">Antilivre</a> (2021-04-06)</li>
<li><a href="/david/2021/04/05/">Honte</a> (2021-04-05)</li>
<li><a href="/david/2021/04/04/">Échappatoire</a> (2021-04-04)</li>
<li><a href="/david/2021/04/03/">Bernaches</a> (2021-04-03)</li>
<li><a href="/david/2021/03/31/">Formes</a> (2021-03-31)</li>
<li><a href="/david/2021/03/30/">Timelapse</a> (2021-03-30)</li>
<li><a href="/david/2021/03/29/">Évaluation</a> (2021-03-29)</li>
<li><a href="/david/2021/03/28/">Smolstack</a> (2021-03-28)</li>
<li><a href="/david/2021/03/27/">Immersion</a> (2021-03-27)</li>
<li><a href="/david/2021/03/26/">Stimulant</a> (2021-03-26)</li>
<li><a href="/david/2021/03/25/">Sponsor</a> (2021-03-25)</li>
<li><a href="/david/2021/03/24/">Rareté</a> (2021-03-24)</li>
<li><a href="/david/2021/03/23/">Recrutement</a> (2021-03-23)</li>
<li><a href="/david/2021/03/22/">JavaScript-less</a> (2021-03-22)</li>
<li><a href="/david/2021/03/21/">Gimbal</a> (2021-03-21)</li>
<li><a href="/david/2021/03/20/">Manuel</a> (2021-03-20)</li>
<li><a href="/david/2021/03/19/">Support</a> (2021-03-19)</li>
<li><a href="/david/2021/03/18/">Fatigue</a> (2021-03-18)</li>
<li><a href="/david/2021/03/17/">Arrivant·es</a> (2021-03-17)</li>
<li><a href="/david/2021/03/16/">Confort</a> (2021-03-16)</li>
<li><a href="/david/2021/03/15/">Partage</a> (2021-03-15)</li>
<li><a href="/david/2021/03/14/">Impôts</a> (2021-03-14)</li>
<li><a href="/david/2021/03/13/">In·dépendance</a> (2021-03-13)</li>
<li><a href="/david/2021/03/12/">Forêt</a> (2021-03-12)</li>
<li><a href="/david/2021/03/11/">Héros</a> (2021-03-11)</li>
<li><a href="/david/2021/03/09/">Fun</a> (2021-03-09)</li>
<li><a href="/david/2021/03/08/">Vie</a> (2021-03-08)</li>
<li><a href="/david/2021/03/07/">@World</a> (2021-03-07)</li>
<li><a href="/david/2021/03/06/">Pistage</a> (2021-03-06)</li>
<li><a href="/david/2021/03/05/">Grand Nord</a> (2021-03-05)</li>
<li><a href="/david/2021/03/04/">HTML-over-WebSockets</a> (2021-03-04)</li>
<li><a href="/david/2021/03/03/">Vivre avec</a> (2021-03-03)</li>
<li><a href="/david/2021/03/02/">Dépression</a> (2021-03-02)</li>
<li><a href="/david/2021/03/01/">Responsabilité</a> (2021-03-01)</li>
<li><a href="/david/2021/02/28/">Constance</a> (2021-02-28)</li>
<li><a href="/david/2021/02/27/">Culpabilité</a> (2021-02-27)</li>
<li><a href="/david/2021/02/26/">Disponibilité</a> (2021-02-26)</li>
<li><a href="/david/2021/02/25/">Stabilisation</a> (2021-02-25)</li>
<li><a href="/david/2021/02/24/">Précipitation</a> (2021-02-24)</li>
<li><a href="/david/2021/02/23/">Montage</a> (2021-02-23)</li>
<li><a href="/david/2021/02/22/">Jour 2</a> (2021-02-22)</li>
<li><a href="/david/2021/02/21/">Jour 1</a> (2021-02-21)</li>
<li><a href="/david/2021/02/20/">Apaisement</a> (2021-02-20)</li>
<li><a href="/david/2021/02/19/">Optimisation</a> (2021-02-19)</li>
<li><a href="/david/2021/02/18/">Castors</a> (2021-02-18)</li>
<li><a href="/david/2021/02/16/">Éponge</a> (2021-02-16)</li>
<li><a href="/david/2021/02/15/">Comptabilité</a> (2021-02-15)</li>
<li><a href="/david/2021/02/14/">Bibliothèque</a> (2021-02-14)</li>
<li><a href="/david/2021/02/12/">Beauté</a> (2021-02-12)</li>
<li><a href="/david/2021/02/11/">Nucléaire</a> (2021-02-11)</li>
<li><a href="/david/2021/02/10/">Retraite</a> (2021-02-10)</li>
<li><a href="/david/2021/02/09/">Calme</a> (2021-02-09)</li>
<li><a href="/david/2021/02/08/">Niveaux</a> (2021-02-08)</li>
<li><a href="/david/2021/02/07/">Ostentatoire</a> (2021-02-07)</li>
<li><a href="/david/2021/02/06/">Dystopie</a> (2021-02-06)</li>
<li><a href="/david/2021/02/05/">Réparation</a> (2021-02-05)</li>
<li><a href="/david/2021/02/04/">Chance</a> (2021-02-04)</li>
<li><a href="/david/2021/02/03/">Consentement</a> (2021-02-03)</li>
<li><a href="/david/2021/02/02/">Complexité</a> (2021-02-02)</li>
<li><a href="/david/2021/02/01/">Software</a> (2021-02-01)</li>
<li><a href="/david/2021/01/31/">Meta</a> (2021-01-31)</li>
<li><a href="/david/2021/01/30/">Recommandations</a> (2021-01-30)</li>
<li><a href="/david/2021/01/29/">Routine</a> (2021-01-29)</li>
<li><a href="/david/2021/01/27/">Choix</a> (2021-01-27)</li>
<li><a href="/david/2021/01/26/">Conférences</a> (2021-01-26)</li>
<li><a href="/david/2021/01/25/">Valeurs</a> (2021-01-25)</li>
<li><a href="/david/2021/01/24/">Négativité</a> (2021-01-24)</li>
<li><a href="/david/2021/01/23/">Gratitude</a> (2021-01-23)</li>
<li><a href="/david/2021/01/22/">Tentation</a> (2021-01-22)</li>
<li><a href="/david/2021/01/21/">Questionnements</a> (2021-01-21)</li>
<li><a href="/david/2021/01/20/">Adaptation</a> (2021-01-20)</li>
<li><a href="/david/2021/01/19/">Chaîne de capture</a> (2021-01-19)</li>
<li><a href="/david/2021/01/18/">Textcasts</a> (2021-01-18)</li>
<li><a href="/david/2021/01/17/">Finesse</a> (2021-01-17)</li>
<li><a href="/david/2021/01/16/">Bouc émissaire</a> (2021-01-16)</li>
<li><a href="/david/2021/01/15/">Artfevre</a> (2021-01-15)</li>
<li><a href="/david/2021/01/14/">Parler</a> (2021-01-14)</li>
<li><a href="/david/2021/01/13/">Long terme</a> (2021-01-13)</li>
<li><a href="/david/2021/01/11/">Marche ou trêve</a> (2021-01-11)</li>
<li><a href="/david/2021/01/10/">Biologeek</a> (2021-01-10)</li>
<li><a href="/david/2021/01/09/">Science-F(r)iction</a> (2021-01-09)</li>
<li><a href="/david/2021/01/08/">Holisme écologique</a> (2021-01-08)</li>
<li><a href="/david/2021/01/07/">Blancheur</a> (2021-01-07)</li>
<li><a href="/david/2021/01/06/">Clown d’État</a> (2021-01-06)</li>
<li><a href="/david/2021/01/05/">Statu quo</a> (2021-01-05)</li>
<li><a href="/david/2021/01/04/">Webing-lists</a> (2021-01-04)</li>
<li><a href="/david/2021/01/03/">Vaccina(c)tion</a> (2021-01-03)</li>
<li><a href="/david/2021/01/02/">Gentrification climatique</a> (2021-01-02)</li>
<li><a href="/david/2021/01/01/">PresQuotidien</a> (2021-01-01)</li>
</ul>
<h3>Mai 2021</h3>
<p>
<a href="/david/2021/05/03/">Pop culture</a>,
<a href="/david/2021/05/04/">Touriste</a>,
<a href="/david/2021/05/05/">Accessibilité</a>,
<a href="/david/2021/05/06/">Jour 1</a>,
<a href="/david/2021/05/07/">Jour 2</a>.
</p>
<h3>Avril 2021</h3>
<p>
<a href="/david/2021/04/03/">Bernaches</a>,
<a href="/david/2021/04/04/">Échappatoire</a>,
<a href="/david/2021/04/05/">Honte</a>,
<a href="/david/2021/04/06/">Antilivre</a>,
<a href="/david/2021/04/08/">NetNewsWire</a>,
<a href="/david/2021/04/09/">Maximiser</a>,
<a href="/david/2021/04/10/">Autrement</a>,
<a href="/david/2021/04/11/">Apocalypse</a>,
<a href="/david/2021/04/12/">Alcool</a>,
<a href="/david/2021/04/13/">Nonnes</a>,
<a href="/david/2021/04/14/">Trending</a>,
<a href="/david/2021/04/15/">Dark mode</a>,
<a href="/david/2021/04/16/">Jour 1</a>,
<a href="/david/2021/04/17/">Jour 2</a>,
<a href="/david/2021/04/18/">Jour 3</a>,
<a href="/david/2021/04/19/">Conversions</a>,
<a href="/david/2021/04/20/">Remote</a>,
<a href="/david/2021/04/21/">Montage</a>,
<a href="/david/2021/04/22/">Vacances</a>,
<a href="/david/2021/04/23/">Contemplation</a>,
<a href="/david/2021/04/24/">Répartie</a>,
<a href="/david/2021/04/25/">Complot</a>,
<a href="/david/2021/04/26/">Mourir</a>,
<a href="/david/2021/04/27/">Cheminement</a>,
<a href="/david/2021/04/28/">Politique</a>,
<a href="/david/2021/04/29/">Coût</a>,
<a href="/david/2021/04/30/">Produit</a>.
</p>
<h3>Mars 2021</h3>
<p>
<a href="/david/2021/03/01/">Responsabilité</a>,
<a href="/david/2021/03/02/">Dépression</a>,
<a href="/david/2021/03/03/">Vivre avec</a>,
<a href="/david/2021/03/04/">HTML-over-WebSockets</a>,
<a href="/david/2021/03/05/">Grand Nord</a>,
<a href="/david/2021/03/06/">Pistage</a>,
<a href="/david/2021/03/07/">@World</a>,
<a href="/david/2021/03/08/">Vie</a>,
<a href="/david/2021/03/09/">Fun</a>,
<a href="/david/2021/03/11/">Héros</a>,
<a href="/david/2021/03/12/">Forêt</a>,
<a href="/david/2021/03/13/">In·dépendance</a>,
<a href="/david/2021/03/14/">Impôts</a>,
<a href="/david/2021/03/15/">Partage</a>,
<a href="/david/2021/03/16/">Confort</a>,
<a href="/david/2021/03/17/">Arrivant·es</a>,
<a href="/david/2021/03/18/">Fatigue</a>,
<a href="/david/2021/03/19/">Support</a>,
<a href="/david/2021/03/20/">Manuel</a>,
<a href="/david/2021/03/21/">Gimbal</a>,
<a href="/david/2021/03/22/">JavaScript-less</a>,
<a href="/david/2021/03/23/">Recrutement</a>,
<a href="/david/2021/03/24/">Rareté</a>,
<a href="/david/2021/03/25/">Sponsor</a>,
<a href="/david/2021/03/26/">Stimulant</a>,
<a href="/david/2021/03/27/">Immersion</a>,
<a href="/david/2021/03/28/">Smolstack</a>,
<a href="/david/2021/03/29/">Évaluation</a>,
<a href="/david/2021/03/30/">Timelapse</a>,
<a href="/david/2021/03/31/">Formes</a>.
</p>
<h3>Février 2021</h3>
<p>
<a href="/david/2021/02/01/">Software</a>,
<a href="/david/2021/02/02/">Complexité</a>,
<a href="/david/2021/02/03/">Consentement</a>,
<a href="/david/2021/02/04/">Chance</a>,
<a href="/david/2021/02/05/">Réparation</a>,
<a href="/david/2021/02/06/">Dystopie</a>,
<a href="/david/2021/02/07/">Ostentatoire</a>,
<a href="/david/2021/02/08/">Niveaux</a>,
<a href="/david/2021/02/09/">Calme</a>,
<a href="/david/2021/02/10/">Retraite</a>,
<a href="/david/2021/02/11/">Nucléaire</a>,
<a href="/david/2021/02/12/">Beauté</a>,
<a href="/david/2021/02/14/">Bibliothèque</a>,
<a href="/david/2021/02/15/">Comptabilité</a>,
<a href="/david/2021/02/16/">Éponge</a>,
<a href="/david/2021/02/18/">Castors</a>,
<a href="/david/2021/02/19/">Optimisation</a>,
<a href="/david/2021/02/20/">Apaisement</a>,
<a href="/david/2021/02/21/">Jour 1</a>,
<a href="/david/2021/02/22/">Jour 2</a>,
<a href="/david/2021/02/23/">Montage</a>,
<a href="/david/2021/02/24/">Précipitation</a>,
<a href="/david/2021/02/25/">Stabilisation</a>,
<a href="/david/2021/02/26/">Disponibilité</a>,
<a href="/david/2021/02/27/">Culpabilité</a>,
<a href="/david/2021/02/28/">Constance</a>.
</p>
<h3>Janvier 2021</h3>
<p>
<a href="/david/2021/01/01/">PresQuotidien</a>,
<a href="/david/2021/01/02/">Gentrification climatique</a>,
<a href="/david/2021/01/03/">Vaccina(c)tion</a>,
<a href="/david/2021/01/04/">Webing-lists</a>,
<a href="/david/2021/01/05/">Statu quo</a>,
<a href="/david/2021/01/06/">Clown d’État</a>,
<a href="/david/2021/01/07/">Blancheur</a>,
<a href="/david/2021/01/08/">Holisme écologique</a>,
<a href="/david/2021/01/09/">Science-F(r)iction</a>,
<a href="/david/2021/01/10/">Biologeek</a>,
<a href="/david/2021/01/11/">Marche ou trêve</a>,
<a href="/david/2021/01/13/">Long terme</a>,
<a href="/david/2021/01/14/">Parler</a>,
<a href="/david/2021/01/15/">Artfevre</a>,
<a href="/david/2021/01/16/">Bouc émissaire</a>,
<a href="/david/2021/01/17/">Finesse</a>,
<a href="/david/2021/01/18/">Textcasts</a>,
<a href="/david/2021/01/19/">Chaîne de capture</a>,
<a href="/david/2021/01/20/">Adaptation</a>,
<a href="/david/2021/01/21/">Questionnements</a>,
<a href="/david/2021/01/22/">Tentation</a>,
<a href="/david/2021/01/23/">Gratitude</a>,
<a href="/david/2021/01/24/">Négativité</a>,
<a href="/david/2021/01/25/">Valeurs</a>,
<a href="/david/2021/01/26/">Conférences</a>,
<a href="/david/2021/01/27/">Choix</a>,
<a href="/david/2021/01/29/">Routine</a>,
<a href="/david/2021/01/30/">Recommandations</a>,
<a href="/david/2021/01/31/">Meta</a>.
</p>
</nav>

<h2>Publications 2020</h2>
@@ -316,46 +222,46 @@
<p>Liste des publications en ordre chronologique :</p>

<nav>
<ul>
<li><a href="/david/2020/01/03/">Briques</a> (2020-01-03)</li>
<li><a href="/david/2020/01/06/">Écriture</a> (2020-01-06)</li>
<li><a href="/david/2020/01/10/">Travail</a> (2020-01-10)</li>
<li><a href="/david/2020/01/15/">Futurs</a> (2020-01-15)</li>
<li><a href="/david/2020/01/17/">Datagouv</a> (2020-01-17)</li>
<li><a href="/david/2020/01/22/">Réponses</a> (2020-01-22)</li>
<li><a href="/david/2020/01/29/">Sortie ski</a> (2020-01-29)</li>
<li><a href="/david/2020/01/31/">Intentions</a> (2020-01-31)</li>
<li><a href="/david/2020/02/07/">GAFAM+</a> (2020-02-07)</li>
<li><a href="/david/2020/02/14/">Espoirs</a> (2020-02-14)</li>
<li><a href="/david/2020/02/21/">Service</a> (2020-02-21)</li>
<li><a href="/david/2020/03/13/">Technique</a> (2020-03-13)</li>
<li><a href="/david/2020/03/20/">Rédemption</a> (2020-03-20)</li>
<li><a href="/david/2020/03/27/">Exutoire</a> (2020-03-27)</li>
<li><a href="/david/2020/04/03/">Patience</a> (2020-04-03)</li>
<li><a href="/david/2020/04/10/">Résistance</a> (2020-04-10)</li>
<li><a href="/david/2020/04/18/">Zam</a> (2020-04-18)</li>
<li><a href="/david/2020/05/18/">Relance</a> (2020-05-18)</li>
<li><a href="/david/2020/05/20/">Bikepacking</a> (2020-05-20)</li>
<li><a href="/david/2020/05/26/">Covidoudou</a> (2020-05-26)</li>
<li><a href="/david/2020/06/12/">Vrac</a> (2020-06-12)</li>
<li><a href="/david/2020/06/18/">Mouvements</a> (2020-06-18)</li>
<li><a href="/david/2020/06/25/">Ouvertance</a> (2020-06-25)</li>
<li><a href="/david/2020/07/03/">Confetti</a> (2020-07-03)</li>
<li><a href="/david/2020/07/13/">Bilan</a> (2020-07-13)</li>
<li><a href="/david/2020/08/24/">Personnes</a> (2020-08-24)</li>
<li><a href="/david/2020/09/01/">Rentrée</a> (2020-09-01)</li>
<li><a href="/david/2020/09/07/">Rappels</a> (2020-09-07)</li>
<li><a href="/david/2020/09/16/">Coupable</a> (2020-09-16)</li>
<li><a href="/david/2020/10/08/">Parvenir</a> (2020-10-08)</li>
<li><a href="/david/2020/10/22/">Grand-écart</a> (2020-10-22)</li>
<li><a href="/david/2020/10/28/">Chaos</a> (2020-10-28)</li>
<li><a href="/david/2020/11/27/">Perles</a> (2020-11-27)</li>
<li><a href="/david/2020/12/01/">Compréhension</a> (2020-12-01)</li>
<li><a href="/david/2020/12/13/">Publications</a> (2020-12-13)</li>
<li><a href="/david/2020/12/15/">Vidéos</a> (2020-12-15)</li>
<li><a href="/david/2020/12/18/">Arrakice</a> (2020-12-18)</li>
<li><a href="/david/2020/12/21/">Livres</a> (2020-12-21)</li>
</ul>
<p>
<a href="/david/2020/01/03/">Briques</a>,
<a href="/david/2020/01/06/">Écriture</a>,
<a href="/david/2020/01/10/">Travail</a>,
<a href="/david/2020/01/15/">Futurs</a>,
<a href="/david/2020/01/17/">Datagouv</a>,
<a href="/david/2020/01/22/">Réponses</a>,
<a href="/david/2020/01/29/">Sortie ski</a>,
<a href="/david/2020/01/31/">Intentions</a>,
<a href="/david/2020/02/07/">GAFAM+</a>,
<a href="/david/2020/02/14/">Espoirs</a>,
<a href="/david/2020/02/21/">Service</a>,
<a href="/david/2020/03/13/">Technique</a>,
<a href="/david/2020/03/20/">Rédemption</a>,
<a href="/david/2020/03/27/">Exutoire</a>,
<a href="/david/2020/04/03/">Patience</a>,
<a href="/david/2020/04/10/">Résistance</a>,
<a href="/david/2020/04/18/">Zam</a>,
<a href="/david/2020/05/18/">Relance</a>,
<a href="/david/2020/05/20/">Bikepacking</a>,
<a href="/david/2020/05/26/">Covidoudou</a>,
<a href="/david/2020/06/12/">Vrac</a>,
<a href="/david/2020/06/18/">Mouvements</a>,
<a href="/david/2020/06/25/">Ouvertance</a>,
<a href="/david/2020/07/03/">Confetti</a>,
<a href="/david/2020/07/13/">Bilan</a>,
<a href="/david/2020/08/24/">Personnes</a>,
<a href="/david/2020/09/01/">Rentrée</a>,
<a href="/david/2020/09/07/">Rappels</a>,
<a href="/david/2020/09/16/">Coupable</a>,
<a href="/david/2020/10/08/">Parvenir</a>,
<a href="/david/2020/10/22/">Grand-écart</a>,
<a href="/david/2020/10/28/">Chaos</a>,
<a href="/david/2020/11/27/">Perles</a>,
<a href="/david/2020/12/01/">Compréhension</a>,
<a href="/david/2020/12/13/">Publications</a>,
<a href="/david/2020/12/15/">Vidéos</a>,
<a href="/david/2020/12/18/">Arrakice</a>,
<a href="/david/2020/12/21/">Livres</a>.
</p>
</nav>

<h2>Publications archéologiques</h2>

+ 49
- 45
david/templates/profil.html 查看文件

@@ -23,11 +23,15 @@
<h2>Publication récentes</h2>

<nav>
<ul>
{% for page in page_list %}
<li><a href="{{ page.url }}">{{ page.title }}</a> ({{ page.date }})</li>
{% endfor %}
</ul>
{% for month_year, group in page_list %}
<h3>{{ month_year }}</h3>
<p>
{% for page in group|sort -%}
<a href="{{ page.url }}">{{ page.title }}</a>
{%- if not loop.last %}, {% else %}.{% endif %}
{% endfor %}
</p>
{% endfor %}
</nav>

<h2>Publications 2020</h2>
@@ -35,46 +39,46 @@
<p>Liste des publications en ordre chronologique :</p>

<nav>
<ul>
<li><a href="/david/2020/01/03/">Briques</a> (2020-01-03)</li>
<li><a href="/david/2020/01/06/">Écriture</a> (2020-01-06)</li>
<li><a href="/david/2020/01/10/">Travail</a> (2020-01-10)</li>
<li><a href="/david/2020/01/15/">Futurs</a> (2020-01-15)</li>
<li><a href="/david/2020/01/17/">Datagouv</a> (2020-01-17)</li>
<li><a href="/david/2020/01/22/">Réponses</a> (2020-01-22)</li>
<li><a href="/david/2020/01/29/">Sortie ski</a> (2020-01-29)</li>
<li><a href="/david/2020/01/31/">Intentions</a> (2020-01-31)</li>
<li><a href="/david/2020/02/07/">GAFAM+</a> (2020-02-07)</li>
<li><a href="/david/2020/02/14/">Espoirs</a> (2020-02-14)</li>
<li><a href="/david/2020/02/21/">Service</a> (2020-02-21)</li>
<li><a href="/david/2020/03/13/">Technique</a> (2020-03-13)</li>
<li><a href="/david/2020/03/20/">Rédemption</a> (2020-03-20)</li>
<li><a href="/david/2020/03/27/">Exutoire</a> (2020-03-27)</li>
<li><a href="/david/2020/04/03/">Patience</a> (2020-04-03)</li>
<li><a href="/david/2020/04/10/">Résistance</a> (2020-04-10)</li>
<li><a href="/david/2020/04/18/">Zam</a> (2020-04-18)</li>
<li><a href="/david/2020/05/18/">Relance</a> (2020-05-18)</li>
<li><a href="/david/2020/05/20/">Bikepacking</a> (2020-05-20)</li>
<li><a href="/david/2020/05/26/">Covidoudou</a> (2020-05-26)</li>
<li><a href="/david/2020/06/12/">Vrac</a> (2020-06-12)</li>
<li><a href="/david/2020/06/18/">Mouvements</a> (2020-06-18)</li>
<li><a href="/david/2020/06/25/">Ouvertance</a> (2020-06-25)</li>
<li><a href="/david/2020/07/03/">Confetti</a> (2020-07-03)</li>
<li><a href="/david/2020/07/13/">Bilan</a> (2020-07-13)</li>
<li><a href="/david/2020/08/24/">Personnes</a> (2020-08-24)</li>
<li><a href="/david/2020/09/01/">Rentrée</a> (2020-09-01)</li>
<li><a href="/david/2020/09/07/">Rappels</a> (2020-09-07)</li>
<li><a href="/david/2020/09/16/">Coupable</a> (2020-09-16)</li>
<li><a href="/david/2020/10/08/">Parvenir</a> (2020-10-08)</li>
<li><a href="/david/2020/10/22/">Grand-écart</a> (2020-10-22)</li>
<li><a href="/david/2020/10/28/">Chaos</a> (2020-10-28)</li>
<li><a href="/david/2020/11/27/">Perles</a> (2020-11-27)</li>
<li><a href="/david/2020/12/01/">Compréhension</a> (2020-12-01)</li>
<li><a href="/david/2020/12/13/">Publications</a> (2020-12-13)</li>
<li><a href="/david/2020/12/15/">Vidéos</a> (2020-12-15)</li>
<li><a href="/david/2020/12/18/">Arrakice</a> (2020-12-18)</li>
<li><a href="/david/2020/12/21/">Livres</a> (2020-12-21)</li>
</ul>
<p>
<a href="/david/2020/01/03/">Briques</a>,
<a href="/david/2020/01/06/">Écriture</a>,
<a href="/david/2020/01/10/">Travail</a>,
<a href="/david/2020/01/15/">Futurs</a>,
<a href="/david/2020/01/17/">Datagouv</a>,
<a href="/david/2020/01/22/">Réponses</a>,
<a href="/david/2020/01/29/">Sortie ski</a>,
<a href="/david/2020/01/31/">Intentions</a>,
<a href="/david/2020/02/07/">GAFAM+</a>,
<a href="/david/2020/02/14/">Espoirs</a>,
<a href="/david/2020/02/21/">Service</a>,
<a href="/david/2020/03/13/">Technique</a>,
<a href="/david/2020/03/20/">Rédemption</a>,
<a href="/david/2020/03/27/">Exutoire</a>,
<a href="/david/2020/04/03/">Patience</a>,
<a href="/david/2020/04/10/">Résistance</a>,
<a href="/david/2020/04/18/">Zam</a>,
<a href="/david/2020/05/18/">Relance</a>,
<a href="/david/2020/05/20/">Bikepacking</a>,
<a href="/david/2020/05/26/">Covidoudou</a>,
<a href="/david/2020/06/12/">Vrac</a>,
<a href="/david/2020/06/18/">Mouvements</a>,
<a href="/david/2020/06/25/">Ouvertance</a>,
<a href="/david/2020/07/03/">Confetti</a>,
<a href="/david/2020/07/13/">Bilan</a>,
<a href="/david/2020/08/24/">Personnes</a>,
<a href="/david/2020/09/01/">Rentrée</a>,
<a href="/david/2020/09/07/">Rappels</a>,
<a href="/david/2020/09/16/">Coupable</a>,
<a href="/david/2020/10/08/">Parvenir</a>,
<a href="/david/2020/10/22/">Grand-écart</a>,
<a href="/david/2020/10/28/">Chaos</a>,
<a href="/david/2020/11/27/">Perles</a>,
<a href="/david/2020/12/01/">Compréhension</a>,
<a href="/david/2020/12/13/">Publications</a>,
<a href="/david/2020/12/15/">Vidéos</a>,
<a href="/david/2020/12/18/">Arrakice</a>,
<a href="/david/2020/12/21/">Livres</a>.
</p>
</nav>

<h2>Publications archéologiques</h2>

+ 1
- 1
requirements.txt 查看文件

@@ -1,4 +1,4 @@
Jinja2==2.10.3
Jinja2==3.0.0
minicli==0.4.4
mistune==2.0.0a5
Pillow==7.1.2

+ 8
- 1
site.py 查看文件

@@ -5,6 +5,7 @@ import os
from dataclasses import dataclass
from datetime import datetime, timedelta
from html import escape
from itertools import groupby
from pathlib import Path
from textwrap import dedent
from time import perf_counter
@@ -279,9 +280,15 @@ def pages():
@cli
def home():
"""Build the home page with last published items."""

def group_by_month_year(item):
return item.date.strftime("%B %Y").title()

template = environment.get_template("profil.html")
content = template.render(
page_list=Page.all(source=DAVID / "2021" / "sources"),
page_list=groupby(
Page.all(source=DAVID / "2021" / "sources"), key=group_by_month_year
),
)
open(DAVID / "index.html", "w").write(content)


Loading…
取消
儲存