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'
title = 'sillon-fictionnel.club'
title = 'le sillon fictionnel'
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>'
@ -8,6 +8,9 @@ copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence <a href="https:
[params]
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>'
[socialIcons]
name = 'rss'
url = 'https://sillon-fictionnel.club'
[favicons]
themeColor = '#FFFFFF'
backgroundColor = '#FFFFFF'

View file

@ -20,4 +20,6 @@
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ 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>