From b21933aa4c8fcedc94db1719cb265870151fb885 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 16 Aug 2020 09:28:47 +0300 Subject: 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 --- layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/partials/header.html') 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" }} {{- end }} -{{ .Hugo.Generator }} +{{ hugo.Generator }} -{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }} +{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }} -- cgit v1.3.1-26-gb76a