Skip to content
Snippets Groups Projects
Commit 8ef7aca4 authored by Eny Tarunaditya's avatar Eny Tarunaditya
Browse files

FIX(change .RSSLink)

This change is made to ensure compatibility with future version of hugo
parent 727e87fb
No related branches found
No related tags found
1 merge request!336RSoC 2023 post by Eny (and some website fixes)
......@@ -7,9 +7,9 @@
<title>{{ .Title }} - {{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}">
{{ end }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s -F" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment