aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/themes/mitmproxydocs/layouts/partials/header.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2020-05-16 17:10:44 +0200
committerMaximilian Hils <git@maximilianhils.com>2020-05-16 17:10:44 +0200
commit30c904fe5f01bc6d37d01656811f466ceb5f7b1b (patch)
tree68dcf1b63e74016e142a8f4acf3b5dccb39ecbbd /docs/src/themes/mitmproxydocs/layouts/partials/header.html
parentb4bd1741eb48971a62b26d366bc6e2768350783e (diff)
downloadmitmproxy-30c904fe5f01bc6d37d01656811f466ceb5f7b1b.tar.gz
mitmproxy-30c904fe5f01bc6d37d01656811f466ceb5f7b1b.tar.bz2
mitmproxy-30c904fe5f01bc6d37d01656811f466ceb5f7b1b.zip
update hugo
Diffstat (limited to 'docs/src/themes/mitmproxydocs/layouts/partials/header.html')
-rw-r--r--docs/src/themes/mitmproxydocs/layouts/partials/header.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/themes/mitmproxydocs/layouts/partials/header.html b/docs/src/themes/mitmproxydocs/layouts/partials/header.html
index 925631d6..8210b56b 100644
--- a/docs/src/themes/mitmproxydocs/layouts/partials/header.html
+++ b/docs/src/themes/mitmproxydocs/layouts/partials/header.html
@@ -17,9 +17,9 @@
{{ $style := resources.Get "style.scss" | toCSS | minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
- {{ if .RSSLink -}}
- <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}">
- {{- end }}
+ {{ range .AlternativeOutputFormats -}}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ end -}}
{{ hugo.Generator }}
</head>
<body>