Browse Source

No need for list(chain()), thanks Rik

master
David Larlet 7 months ago
parent
commit
94110958e4
Signed by: David Larlet <david@larlet.fr> GPG Key ID: 3E2953A359E7E7BD
3 changed files with 16 additions and 11 deletions
  1. 6
    1
      Makefile
  2. 9
    9
      david/blogroll/index.html
  3. 1
    1
      site.py

+ 6
- 1
Makefile View File

@@ -10,10 +10,15 @@ build: ## Generate the site
@python site.py pages tags feed home

.PHONY: publish
publish: ## Make heay actions
publish: ## Make heavy actions
@python site.py search blogroll


.PHONY: blogroll
blogroll: ## Generate the blogroll
@python site.py blogroll


.PHONY: live
live: ## Rebuild contents on file change.
ls david/2023/_sources/* | entr -r make build

+ 9
- 9
david/blogroll/index.html View File

@@ -121,6 +121,15 @@

<h2>Leurs dernières publications</h2>

<dl>
<dt>
<a href="https://ynote.hk/mots/argent/propriete.html">Propriété</a>
(<a href="https://ynote.hk/">Fanny Cheung</a>)
</dt>
<dd>
En ce moment, je discute avec d’autres personnes, dans l’idée d’acheter un terrain et d’y construire un habitat léger. Ça me questionne, comme à chaque fois, sur l’accès à la propriété.
</dd>
</dl>
<dl>
<dt>
<a href="https://n.survol.fr/n/la-blogchain">La blog­chain</a>
@@ -256,15 +265,6 @@
Réflexions sur la multiplicité de points de vue en plusieurs actes.
</dd>
</dl>
<dl>
<dt>
<a href="https://ynote.hk/mots/processus-de-creation/valse-violette.html">Valse violette</a>
(<a href="https://ynote.hk/">Fanny Cheung</a>)
</dt>
<dd>
Pendant mon court séjour à Dol-de-Bretagne, j’ai aperçu beaucoup de fleurs dans la palette des violets. À mon habitude, ces observations m’ont donné l’envie de peindre.
</dd>
</dl>
<dl>
<dt>
<a href="https://luce.carevic.eu/fr/notes/actions-rapides-macos-automator">Actions rapides (macOS) avec Automator</a>

+ 1
- 1
site.py View File

@@ -518,7 +518,7 @@ def blogroll():
),
]
entry_list = sorted(
list(chain(*[website.entries for website in website_list])),
chain(*[website.entries for website in website_list]),
key=attrgetter("updated_parsed"),
reverse=True,
)

Loading…
Cancel
Save