Skip to content

Commit

Permalink
Update head.html with RSS tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmoini authored May 28, 2024
1 parent edaae1e commit 64c061c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion site/layouts/partials/head/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}
{{ partial "analytics/plausible-analytics.html" . }}
{{- $style := resources.Get "scss/global.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
Expand All @@ -18,4 +21,4 @@
{{ end -}}
<link rel="stylesheet" href="/vendor/lightbox2-2.11.3/dist/css/lightbox.min.css" />
<link rel="stylesheet" href="/css/custom.css#{{ $gitHash }}" />
</head>
</head>

0 comments on commit 64c061c

Please sign in to comment.