summaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2024-09-28 09:58:22 +0200
committerSerghei Iakovlev <git@serghei.pl>2024-09-28 10:12:49 +0200
commitfa39098ed994bffd3b3560199a3d65d774e48d15 (patch)
treead846120c76aafcf133cbd2a437369f9b991980e /layouts/partials/head.html
parentdcdd00bee35492181210cb36099e78a53f308a5b (diff)
downloadgohugo-theme-ed-fa39098ed994bffd3b3560199a3d65d774e48d15.tar.gz
Removed custom RSS template
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 5bf6e09..94684a2 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -18,8 +18,12 @@
<link rel="icon" href="{{ site.Params.assets.svgicon | default "icon.svg" | relURL }}" type="image/svg+xml">
<link rel="apple-touch-icon" href="{{ site.Params.assets.apple_touch_icon | default "apple-touch-icon.png" | relURL }}"><!-- 180×180 -->
- {{- /* Feed, sitemap and manifest */}}
- {{ partial "alternate-outputs.html" . }}
+ {{- range .AlternativeOutputFormats }}
+ <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}" title="{{ .Name }}">
+ {{- end }}
+
+ <link rel="sitemap" type="application/xml" href="{{ "sitemap.xml" | relURL }}" title="Sitemap">
+ <link rel="author" type="text/plain" href="{{ "humans.txt" | relURL }}" title="Humans">
{{- range .AllTranslations -}}
<link rel="alternate" hreflang="{{ .Lang }}" href="{{ .Permalink }}">