Show last notes in activity
Tim Izzo tim@5ika.ch
Fri, 06 Mar 2026 20:09:13 +0100
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
layouts/shortcodes/activity.html
→
layouts/shortcodes/activity.html
@@ -1,5 +1,12 @@
<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") }}