From 0ff6b9c147350099cb1315c7c4f99326eb29560b Mon Sep 17 00:00:00 2001 From: diwao Date: Thu, 22 Mar 2018 14:05:11 +0900 Subject: fix author and lang --- layouts/404.html | 2 +- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- layouts/index.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/head.html | 3 +-- 6 files changed, 6 insertions(+), 7 deletions(-) (limited to 'layouts') diff --git a/layouts/404.html b/layouts/404.html index 7053f50..726e25b 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,5 +1,5 @@ - + {{ partial "head" . }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 01f6a43..3f9652e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,5 @@ - + {{ partial "head" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6e18a1e..aaea1ff 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ - + {{ partial "head" . }}
diff --git a/layouts/index.html b/layouts/index.html index 01f6a43..3f9652e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ - + {{ partial "head" . }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c269d21..e3b8ab3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,7 +9,7 @@ {{ if and (.Site.Author.author) (ne .Site.Author.author "") }}

{{ .Site.Author.author }}

{{ else }} -

Daisuke Iwao

+

{{ .Site.Params.author.author }}

{{ end }} {{ if and (.Site.Author.profile) (ne .Site.Author.profile "") }}

{{ .Site.Author.profile }}

diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5a69c38..6555a72 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,7 +3,7 @@ {{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }} {{ .Hugo.Generator }} - + {{ if eq $isHomePage true }} {{ else }} @@ -24,7 +24,6 @@ {{ end }} - -- cgit v1.2.3