Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / partials / header.html
diff options
context:
space:
mode:
Commitb21933aa4c8fcedc94db1719cb265870151fb885 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-16 09:28:47 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-08-16 09:28:47 +0300
Filesa14ff0b2ee4bcaf5f99be592a11320fe460bfdd4 /layouts/partials/header.html
IPL-b21933aa4c8fcedc94db1719cb265870151fb885.tar
IPL-b21933aa4c8fcedc94db1719cb265870151fb885.tar.gz
IPL-b21933aa4c8fcedc94db1719cb265870151fb885.zip
Parentfba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5 (diff)
Squashed 'website/themes/base16/' changes from 7b2da73..861b48a
861b48a Fix homepage for Hugo v0.57.0+ 785529b Merge pull request #22 from htdvisser/dependabot/npm_and_yarn/lodash.template-4.5.0 eebef6d Bump lodash.template from 4.4.0 to 4.5.0 004fb6d Merge pull request #19 from htdvisser/dependabot/npm_and_yarn/js-yaml-3.13.1 e481251 "Urlize" Tags and Categories in Article and swap ".Hugo" for "hugo" (#20) cdc4ae0 Humanize link text for Categories to handle spaces 72fdc0d Urlize tags and categories in article.html 623ee7c Swap deprecated '.Hugo' for 'hugo' be36348 Bump js-yaml from 3.13.0 to 3.13.1 08da946 Fix rendering of page title 62034ea Update dependencies, rebuild and bump version 12c8463 Merge pull request #18 from denislobanov/pagination bc4166b Move paginator to partial and add to other lists 8fde45b static css 75a3a83 Add support for Pagination #2 git-subtree-dir: website/themes/base16 git-subtree-split: 861b48ad0ff31e9b2bee50f2a87925820daac9f5
1 files changed, 2 insertions, 2 deletions
-rw-r--r--layouts/partials/header.html4
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 715808c..c847d77 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -9,12 +9,12 @@
{{- with $.Param "author" }}
<meta name="author" content="{{ . }}">
{{- end }}
-{{ .Hugo.Generator }}
+{{ hugo.Generator }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}" type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css">
<link rel="alternate" href="{{ "index.xml" | relURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
-<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
+<title>{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}</title>
</head>
<body>