Update RSS feed support and enhance footer layout
Some checks are pending
/ test (push) Waiting to run
Some checks are pending
/ test (push) Waiting to run
This commit is contained in:
parent
68ce5a2752
commit
991f13688e
4 changed files with 11 additions and 7 deletions
5
hugo.yml
5
hugo.yml
|
@ -1,7 +1,7 @@
|
||||||
baseURL: 'https://blog.achilletoupin.com/'
|
baseURL: 'https://blog.achilletoupin.com/'
|
||||||
languageCode: 'fr-fr'
|
languageCode: 'fr-fr'
|
||||||
title: 'Achille Toupin'
|
title: 'Achille Toupin'
|
||||||
#description: 'Blog personnel de moi'
|
|
||||||
theme: 'PaperMod'
|
theme: 'PaperMod'
|
||||||
taxonomies:
|
taxonomies:
|
||||||
- tag: tags
|
- tag: tags
|
||||||
|
@ -30,6 +30,7 @@ menu:
|
||||||
|
|
||||||
|
|
||||||
params:
|
params:
|
||||||
|
description: "Mes pensées, idées et projets récents"
|
||||||
# defaultTheme: light
|
# defaultTheme: light
|
||||||
# defaultTheme: dark
|
# defaultTheme: dark
|
||||||
defaultTheme: auto # to switch between dark or light according to browser theme
|
defaultTheme: auto # to switch between dark or light according to browser theme
|
||||||
|
@ -64,7 +65,7 @@ params:
|
||||||
outputFormats:
|
outputFormats:
|
||||||
RSS:
|
RSS:
|
||||||
baseName: "feed"
|
baseName: "feed"
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
home:
|
home:
|
||||||
- HTML
|
- HTML
|
||||||
|
|
|
@ -17,8 +17,10 @@
|
||||||
|
|
||||||
{{- partial "donnees-chargement.html" -}}
|
{{- partial "donnees-chargement.html" -}}
|
||||||
|
|
||||||
|
{{- print " · "}}
|
||||||
|
|
||||||
<a href="/feed.xml">
|
<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>
|
<span>Flux RSS</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ if eq .Title site.Title }}{{ site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ site.Title }}{{ end }}</title>
|
<title>{{ if eq .Title site.Title }}{{ site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ site.Title }}{{ end }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<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 }}
|
{{- with site.Params.images }}
|
||||||
<image>
|
<image>
|
||||||
<title>{{ site.Title }}</title>
|
<title>{{ site.Title }}</title>
|
||||||
|
@ -65,7 +65,8 @@
|
||||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- range $pages }}
|
{{- 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>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
|
@ -3,7 +3,7 @@
|
||||||
# Minimum viable blog
|
# Minimum viable blog
|
||||||
|
|
||||||
## Page d'accueil
|
## 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
|
- [ ] Resize scrolling posts pour écrans fullhd x1.25
|
||||||
|
|
||||||
## Galleries / figures
|
## Galleries / figures
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
- [ ] réhéberger TPE & PEM2T (et autres trucs chez OVH) en local
|
- [ ] réhéberger TPE & PEM2T (et autres trucs chez OVH) en local
|
||||||
- [ ] make it so the 404 page works
|
- [ ] make it so the 404 page works
|
||||||
- [ ] mettre une favicon
|
- [ ] mettre une favicon
|
||||||
- [ ] Mettre en forme flux RSS
|
- [x] Mettre en forme flux RSS
|
||||||
- [ ] Script de mise en ligne avec rsync
|
- [ ] Script de mise en ligne avec rsync
|
||||||
|
|
||||||
# Would be nice
|
# Would be nice
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue