From ea97c5a25c3e2861f82373031ca098ed050256e3 Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Sun, 28 Jan 2024 17:07:01 +0100
Subject: [PATCH] chg: [website] RSS feed added
---
build.sh | 4 ++++
hugo.toml | 7 +++++--
themes/writeonly/layouts/partials/head/head.html | 2 ++
3 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 build.sh
diff --git a/build.sh b/build.sh
new file mode 100644
index 0000000..4256e3b
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+hugo
+rsync --include ".*" -v -rz --checksum public/ ubuntu@illich.paperbay.org:/var/www/sillon-fictionnel.club
diff --git a/hugo.toml b/hugo.toml
index b5d5a26..9bf66d5 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -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 CC BY 4.0 DEED'
@@ -8,6 +8,9 @@ copyright = '© 2024 Le Sillon Fictionnel - contenu sous licence CC BY 4.0 DEED'
+ [socialIcons]
+ name = 'rss'
+ url = 'https://sillon-fictionnel.club'
[favicons]
themeColor = '#FFFFFF'
backgroundColor = '#FFFFFF'
diff --git a/themes/writeonly/layouts/partials/head/head.html b/themes/writeonly/layouts/partials/head/head.html
index a490c29..fbd72d6 100644
--- a/themes/writeonly/layouts/partials/head/head.html
+++ b/themes/writeonly/layouts/partials/head/head.html
@@ -20,4 +20,6 @@
{{ range .AlternativeOutputFormats -}}
{{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
+
+