From caa2f98775b3fb7be6d55fa822fa18220676e3bb Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 13 Jul 2024 17:25:53 +0200 Subject: [PATCH 1/3] rss icon --- config.yml | 8 ++++- layouts/partials/footer/footer.html | 54 +++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/footer/footer.html diff --git a/config.yml b/config.yml index 20785af..5a99777 100644 --- a/config.yml +++ b/config.yml @@ -16,21 +16,27 @@ params: social: - title: Twitter icon: fa-twitter + pack: brands url: https://x.com/bglug_it - title: Facebook icon: fa-facebook-f + pack: brands url: https://www.facebook.com/bglug - title: LinkedIn icon: fa-linkedin + pack: brands url: https://www.linkedin.com/groups/154561/ - title: Gitea icon: fa-git-alt + pack: brands url: https://git.libreschool.org/BgLUG - title: YouTube icon: fa-youtube + pack: brands url: https://www.youtube.com/@BglugIt - title: YouTube - icon: fa-circle-play + icon: fa-play + pack: solid url: https://video.linux.it/c/bglug.it/ taxonomies: diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html new file mode 100644 index 0000000..36e4266 --- /dev/null +++ b/layouts/partials/footer/footer.html @@ -0,0 +1,54 @@ + -- 2.45.2 From 19c5acc14e5e265d0d053019ace8682dd5bd9bdc Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 13 Jul 2024 17:34:23 +0200 Subject: [PATCH 2/3] rss meta --- layouts/partials/head/custom.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 layouts/partials/head/custom.html diff --git a/layouts/partials/head/custom.html b/layouts/partials/head/custom.html new file mode 100644 index 0000000..6c019d2 --- /dev/null +++ b/layouts/partials/head/custom.html @@ -0,0 +1,4 @@ + +{{ with .OutputFormats.Get "rss" -}} + +{{ end -}} \ No newline at end of file -- 2.45.2 From b74f35886b045ad541f053a665133594630a42fc Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 13 Jul 2024 17:36:05 +0200 Subject: [PATCH 3/3] by default, italian feed --- docker/rootfs/etc/nginx/http.d/default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/rootfs/etc/nginx/http.d/default.conf b/docker/rootfs/etc/nginx/http.d/default.conf index d1c49d7..7f52c23 100644 --- a/docker/rootfs/etc/nginx/http.d/default.conf +++ b/docker/rootfs/etc/nginx/http.d/default.conf @@ -8,8 +8,8 @@ server { index index.html; location ~ ^/feed { - rewrite ^/feed$ /index.xml last; - rewrite ^/feed/.*$ /index.xml last; + rewrite ^/feed$ /it/index.xml last; + rewrite ^/feed/.*$ /it/index.xml last; } location = /404.html { -- 2.45.2