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

github.com/JugglerX/hugo-whisper-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfinferflu <finferflu@gmail.com>2019-07-22 14:09:23 +0300
committerGitHub <noreply@github.com>2019-07-22 14:09:23 +0300
commit459df15d81d9069910ffc878c822ff0f49b0acc2 (patch)
tree9e03002f6af5b4864be791a6ccd470bb2b5bc0a4
parentc679e0b497ad533a75fb4374d602cff91898b773 (diff)
Use .Site.Title for page title
-rw-r--r--layouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index f3e0749..b5510e3 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,4 +1,4 @@
-{{ define "title" }}Hugo Whisper Theme Demo{{ end}}
+{{ define "title" }}{{ .Site.Title }}{{ end}}
{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-home{{ end }}
{{ define "header_classes" }}{{ end }}
@@ -53,4 +53,4 @@
{{ end }}
{{ define "footer_js" }}
-{{ end }} \ No newline at end of file
+{{ end }}