Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/layouts/partials/header.html')
-rw-r--r--examples/blog/layouts/partials/header.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/blog/layouts/partials/header.html b/examples/blog/layouts/partials/header.html
index 5863e59ec..94de4c123 100644
--- a/examples/blog/layouts/partials/header.html
+++ b/examples/blog/layouts/partials/header.html
@@ -1,5 +1,6 @@
<!doctype html>
<html lang="en">
+
<head>
{{ partial "meta.html" . }}
@@ -7,6 +8,6 @@
<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 }}
+ {{ printf "<link href=%q rel=\"alternate\" type=%q title=%q />" .Permalink .MediaType $.Site.Title | safeHTML }}
{{- end }}
-</head>
+</head> \ No newline at end of file