Remove weekly notes
Tim Izzo tim@5ika.ch
Wed, 08 Jul 2026 15:18:21 +0200
2 files changed,
20 insertions(+),
29 deletions(-)
M
layouts/shortcodes/activity.html
→
layouts/shortcodes/activity.html
@@ -1,31 +1,23 @@
-<h3 style="margin-top:2rem">Activité récente</h3> +<h3 style="margin-top: 2rem">Activité récente</h3> <div class="activity-grid"> - <h4>Dernières notes</h4> - <div> - {{ range first 1 (where site.RegularPages "Section" "notes") }} - <a href="{{ .RelPermalink }}">Semaine du {{ .Date | time.Format "02.01.06" }} - {{ .LinkTitle }}</a> - {{end}} - </div> - - <h4>Dernière publication</h4> - <div> - {{ range first 1 (where site.RegularPages "Section" "posts") }} - <a href="{{ .RelPermalink }}">{{ .LinkTitle }} <span class='date'>{{ .Date | time.Format "02.01.06" }}</span></a> - {{end}} - </div> + <h4>Dernière publication</h4> + <div> + {{ range first 1 (where site.RegularPages "Section" "posts") }} + <a href="{{ .RelPermalink }}" + >{{ .LinkTitle }} + <span class="date">{{ .Date | time.Format "02.01.06" }}</span></a + > + {{end}} + </div> - <h4>Lecture en cours</h4> - <div> - {{ $outbox := dict }} - {{ with resources.GetRemote "https://bookwyrm.social/user/5ika/outbox?page=1" }} - {{ $outbox = . | transform.Unmarshal }} - {{ with index $outbox.orderedItems 0 }} - <a href='{{ .id }}' target="_blank"> - {{ with index .attachment 0 }} - {{ .name }} - {{ end }} - </a> - {{ end }} - {{ end }} - </div> + <h4>Lecture en cours</h4> + <div> + {{ $outbox := dict }} {{ with resources.GetRemote + "https://bookwyrm.social/user/5ika/outbox?page=1" }} {{ $outbox = . | + transform.Unmarshal }} {{ with index $outbox.orderedItems 0 }} + <a href="{{ .id }}" target="_blank"> + {{ with index .attachment 0 }} {{ .name }} {{ end }} + </a> + {{ end }} {{ end }} + </div> </div>
M
layouts/shortcodes/links.html
→
layouts/shortcodes/links.html
@@ -1,6 +1,5 @@
<nav> <a href="/posts">📝 Blog</a> - <a href="/notes">📅 Notes hebdos</a> <a href="/projects">🔨 Projets</a> <a href="./about">👋 Plus d’info</a> <a href="./now">⬇️ Maintenant</a>