mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
Change section name to section title
Mimics functionality in page.html. Fix #519
This commit is contained in:
parent
8fdfd205f9
commit
d46c4e6726
@ -1,6 +1,6 @@
|
|||||||
<div class="relative w-100 mb4 bg-white nested-copy-line-height">
|
<div class="relative w-100 mb4 bg-white nested-copy-line-height">
|
||||||
<div class="bg-white mb3 pa4 gray overflow-hidden">
|
<div class="bg-white mb3 pa4 gray overflow-hidden">
|
||||||
<span class="f6 db">{{ humanize .Section }}</span>
|
<span class="f6 db">{{with .CurrentSection.Title }}{{ humanize . }}{{end}}</span>
|
||||||
<h1 class="f3 near-black">
|
<h1 class="f3 near-black">
|
||||||
<a href="{{ .RelPermalink }}" class="link black dim">
|
<a href="{{ .RelPermalink }}" class="link black dim">
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user