hugo/examples/blog/layouts/partials/header.html
Bjørn Erik Pedersen 46cafdbaca
examples: Replace .RSSLink
Fixes #6037
2019-10-14 09:30:09 +02:00

12 lines
396 B
HTML

<!doctype html>
<html lang="en">
<head>
{{ partial "meta.html" . }}
<title>{{ .Title }} - {{ .Site.BaseURL }}</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "header.includes.html" . }}
{{ with .OutputFormats.Get "RSS" -}}
{{ printf "<link href=%q rel=\"alternate\" type=%q title=%q />" .Permalink .MediaType .Title | safeHTML }}
{{- end }}
</head>