From 858214081093269386db1127640020322e741578 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 13 Jul 2024 18:17:47 +0000 Subject: [PATCH] rssicon (#95) fix #8 Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/95 Co-authored-by: paspo Co-committed-by: paspo --- config.yml | 8 ++- docker/rootfs/etc/nginx/http.d/default.conf | 4 +- layouts/partials/footer/footer.html | 54 +++++++++++++++++++++ layouts/partials/head/custom.html | 4 ++ 4 files changed, 67 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/footer/footer.html create mode 100644 layouts/partials/head/custom.html diff --git a/config.yml b/config.yml index 4fc45b1..12bf026 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/docker/rootfs/etc/nginx/http.d/default.conf b/docker/rootfs/etc/nginx/http.d/default.conf index 77eb2be..08b2f97 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 ~ ^/it/.* { 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 @@ + 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