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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurizal Susanto <rizal.sagi@gmail.com>2017-06-29 17:49:11 +0300
committerYurizal Susanto <rizal.sagi@gmail.com>2017-06-29 17:49:11 +0300
commitc38639b1bf168cadd860ccff26e600becb22ee9b (patch)
tree5b053ffb9f4932d21caec127be29985d06d523b4 /layouts
parent24c90f130cc1558b7d37518868d733c50b0a31da (diff)
Make default parameter more general
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index bab6971..30b02d0 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,6 +1,6 @@
{{ partial "header" . }}
<section>
- <h2>{{.Section | title}}</h2>
+ <h2>{{ .Section | title }}</h2>
{{ with .Content }}{{.}}{{ end }}
</section>
{{ range .Pages.GroupByDate "Jan, 2006" }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 54a4291..77d8613 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -5,6 +5,5 @@
</header>
{{ .Content }}
<hr/>
- <a href="/{{.Section}}">Return to {{.Section | title}}</a>
</article>
{{ partial "footer" . }}