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

github.com/jsnjack/hugo-changelog-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYauhen Shulitski <jsnjack@gmail.com>2018-10-02 15:08:43 +0300
committerYauhen Shulitski <jsnjack@gmail.com>2018-10-02 15:08:43 +0300
commit0eb30e5435c93399590454adfa2aabc657a4b2bd (patch)
treef71712932734d974951d5161ae686bfadb6d1975
parent2657b7096333028d1c1b5cd3f6ca7fdb9b436f1a (diff)
:m: Allow to customize website title
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/partials/logo.html1
2 files changed, 2 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 0f6a21a..de798c4 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ partial "head.html" . }}
<div class="section text-center">
- <h1>{{ .Site.Title }}</h1>
+ {{ partial "logo.html" . }}
</div>
<div class="content">
diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html
new file mode 100644
index 0000000..fbbee38
--- /dev/null
+++ b/layouts/partials/logo.html
@@ -0,0 +1 @@
+<h1>{{ .Site.Title }}</h1>