mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Update single.html
This commit is contained in:
parent
1ecbffed83
commit
524993912e
@ -7,7 +7,7 @@
|
|||||||
{{ $section := .Site.GetPage "section" .Section }}
|
{{ $section := .Site.GetPage "section" .Section }}
|
||||||
<article class="flex-l flex-wrap justify-between mw8 center ph3">
|
<article class="flex-l flex-wrap justify-between mw8 center ph3">
|
||||||
<header class="mt4 w-100">
|
<header class="mt4 w-100">
|
||||||
<aside class="instapaper_ignoref b helvetica tracked">
|
<aside class="instapaper_ignoref b tracked">
|
||||||
{{/*
|
{{/*
|
||||||
CurrentSection allows us to use the section title instead of inferring from the folder.
|
CurrentSection allows us to use the section title instead of inferring from the folder.
|
||||||
https://gohugo.io/variables/page/#section-variables-and-methods
|
https://gohugo.io/variables/page/#section-variables-and-methods
|
||||||
@ -15,7 +15,7 @@
|
|||||||
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
|
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
|
||||||
</aside>
|
</aside>
|
||||||
{{ partial "social-share.html" . }}
|
{{ partial "social-share.html" . }}
|
||||||
<h1 class="f1 athelas mt3 mb1">
|
<h1 class="f1 mt3 mb1">
|
||||||
{{- .Title -}}
|
{{- .Title -}}
|
||||||
</h1>
|
</h1>
|
||||||
{{ with .Params.author | default .Site.Params.author }}
|
{{ with .Params.author | default .Site.Params.author }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user