Update RSS feed support and enhance footer layout
Some checks are pending
/ test (push) Waiting to run

This commit is contained in:
gribse 2025-05-13 22:19:04 +02:00
parent 68ce5a2752
commit 991f13688e
4 changed files with 11 additions and 7 deletions

View file

@ -1,7 +1,7 @@
baseURL: 'https://blog.achilletoupin.com/'
languageCode: 'fr-fr'
title: 'Achille Toupin'
#description: 'Blog personnel de moi'
theme: 'PaperMod'
taxonomies:
- tag: tags
@ -30,6 +30,7 @@ menu:
params:
description: "Mes pensées, idées et projets récents"
# defaultTheme: light
# defaultTheme: dark
defaultTheme: auto # to switch between dark or light according to browser theme

View file

@ -17,8 +17,10 @@
{{- partial "donnees-chargement.html" -}}
{{- print " · "}}
<a href="/feed.xml">
<svg width="20px" height="20px" stroke-width="2.2" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="#000000"><path d="M12 19C12 14.8 9.2 12 5 12" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 19C19 10.6 13.4 5 5 5" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 19.01L5.01 18.9989" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
<svg width="16px" height="16px" stroke-width="2" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" color="#000000"><path d="M12 19C12 14.8 9.2 12 5 12" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 19C19 10.6 13.4 5 5 5" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 19.01L5.01 18.9989" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
<span>Flux RSS</span>
</a>

View file

@ -47,7 +47,7 @@
<channel>
<title>{{ if eq .Title site.Title }}{{ site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ site.Title }}</description>
<description>{{ site.Params.description }}</description>
{{- with site.Params.images }}
<image>
<title>{{ site.Title }}</title>
@ -65,7 +65,8 @@
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end }}
{{- range $pages }}
{{- if and (ne .Layout `search`) (ne .Layout `archives`) }}
{{- $section := .Section }}
{{- if and (ne .Layout `search`) (ne .Layout `archives`) (ne $section `a-propos`) (ne $section `blogroll`) (ne $section `contact`) }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>

View file

@ -3,7 +3,7 @@
# Minimum viable blog
## Page d'accueil
- [ ] Lien flux rss en bas de page
- [x] Lien flux rss en bas de page
- [ ] Resize scrolling posts pour écrans fullhd x1.25
## Galleries / figures
@ -20,7 +20,7 @@
- [ ] réhéberger TPE & PEM2T (et autres trucs chez OVH) en local
- [ ] make it so the 404 page works
- [ ] mettre une favicon
- [ ] Mettre en forme flux RSS
- [x] Mettre en forme flux RSS
- [ ] Script de mise en ligne avec rsync
# Would be nice