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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-23 07:00:30 +0300
committerHanzei <hanzei@mailbox.org>2018-07-23 07:00:30 +0300
commit5121f1a8331dc94c1189a24fbe09397b608f29a1 (patch)
treede990b3f06bd6c18a1d5edd197aa44ca1b31668b /layouts/blog
parentae99b799c8eeb44a140aede9f9aa971820590ad7 (diff)
Replace .Site.GetPage with one parameter calls
Diffstat (limited to 'layouts/blog')
-rw-r--r--layouts/blog/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index ce801e2..5d1628b 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -1,5 +1,5 @@
{{ define "title" }}
-{{ with .Site.GetPage "section" "/blog" }}
+{{ with .Site.GetPage "/blog" }}
<h1 class="bold-title is-1">{{ .Title }}</h1>
{{ end }}
{{ end }}