e link

Reviewed-on: BgLUG/bglug.it#176
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-08-01 20:48:10 +00:00 committed by Paolo Asperti
parent 635d924f53
commit db4ecefa52
3 changed files with 17 additions and 4 deletions

View File

@ -15,6 +15,18 @@ params:
description: Bergamo Linux Users Group
social:
- title: Mattermost
icon: fa-comments
pack: solid
url: https://chat.libreschool.org
- title: e-mail
icon: fa-envelope
pack: solid
url: mailto:info@bglug.it
- title: Telegram
icon: fa-comment-alt
pack: solid
url: https://t.me/+SOnOrOqT_KGYi2WC
- title: Twitter
icon: fa-twitter
pack: brands
@ -189,10 +201,12 @@ outputs:
- rss
page:
- html
- rss
rss:
- rss
section:
- html
- rss
taxonomy:
- html
- rss

View File

@ -33,7 +33,7 @@
{{- end }}
{{ with .OutputFormats.Get "rss" -}}
<li><a href="{{ .Permalink }}" class="icon solid fa-rss">
<li><a href="{{ relLangURL "index.xml" }}" class="icon solid fa-rss">
<span class="label">RSS feed</span>
</a></li>
{{ end -}}

View File

@ -1,4 +1,3 @@
{{ with .OutputFormats.Get "rss" -}}
<link rel="alternate" type="application/rss+xml" href="{{ .Permalink }}" title="{{ $.Site.Title | safeHTML }}" />
{{ end -}}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}