Skip to content

Commit a1782b5

Browse files
committed
Put RSS link inside <link>
1 parent a802fb8 commit a1782b5

File tree

1 file changed

+4
-4
lines changed
  • themes/hugo-material/layouts/partials

1 file changed

+4
-4
lines changed

themes/hugo-material/layouts/partials/head.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<link rel="stylesheet" href="https://cdn.rawgit.com/wesbos/Font-Awesome-Docker-Icon/master/fontcustom/fontcustom.css">
2525
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.8.0/css/academicons.min.css">
2626

27-
28-
2927
{{ range .Site.Params.custom_css }}
3028
<link rel="stylesheet" href="{{ "/css/" | relURL }}{{ . }}">
3129
{{ end }}
32-
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
33-
<link rel="canonical" href="{{ .Permalink }}">
3430

31+
{{ with .OutputFormats.Get "RSS" }}
32+
<link rel="alternate" type="application/rss+xml" title="{{ printf '%s RSS feed' $.Site.Title }}" href="{{ .RelPermalink }}" />
33+
{{ end }}
34+
<link rel="canonical" href="{{ .Permalink }}">
3535
</head>

0 commit comments

Comments
 (0)