chg: [website] RSS feed added

This commit is contained in:
Alexandre Dulaunoy 2024-01-28 17:07:01 +01:00
parent c0c5d4602a
commit ea97c5a25c
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
3 changed files with 11 additions and 2 deletions

4
build.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
hugo
rsync --include ".*" -v -rz --checksum public/ ubuntu@illich.paperbay.org:/var/www/sillon-fictionnel.club

View file

@ -1,6 +1,6 @@
baseURL = 'https://example.org/' baseURL = 'https://sillon-fictionnel.club/'
languageCode = 'fr' languageCode = 'fr'
title = 'sillon-fictionnel.club' title = 'le sillon fictionnel'
theme = 'writeonly' theme = 'writeonly'
copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence <a href="https://creativecommons.org/licenses/by/4.0/deed.fr">CC BY 4.0 DEED</a>' copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence <a href="https://creativecommons.org/licenses/by/4.0/deed.fr">CC BY 4.0 DEED</a>'
@ -8,6 +8,9 @@ copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence <a href="https:
[params] [params]
title = 'sillon-fictionnel.club' title = 'sillon-fictionnel.club'
# copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence <a href="https://creativecommons.org/licenses/by/4.0/deed.fr">CC BY 4.0 DEED</a>' # copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence <a href="https://creativecommons.org/licenses/by/4.0/deed.fr">CC BY 4.0 DEED</a>'
[socialIcons]
name = 'rss'
url = 'https://sillon-fictionnel.club'
[favicons] [favicons]
themeColor = '#FFFFFF' themeColor = '#FFFFFF'
backgroundColor = '#FFFFFF' backgroundColor = '#FFFFFF'

View file

@ -20,4 +20,6 @@
{{ range .AlternativeOutputFormats -}} {{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}} {{ end -}}
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="/index.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
</head> </head>