diff options
author | Yurizal Susanto <rizal.sagi@gmail.com> | 2017-06-29 17:49:11 +0300 |
---|---|---|
committer | Yurizal Susanto <rizal.sagi@gmail.com> | 2017-06-29 17:49:11 +0300 |
commit | c38639b1bf168cadd860ccff26e600becb22ee9b (patch) | |
tree | 5b053ffb9f4932d21caec127be29985d06d523b4 /layouts | |
parent | 24c90f130cc1558b7d37518868d733c50b0a31da (diff) |
Make default parameter more general
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 1 |
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" . }} |