mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Merge branch 'theNewDynamic:master' into f/allow_multiple_mainsections
This commit is contained in:
commit
2f32889a1b
@ -7,12 +7,12 @@
|
|||||||
{{ $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 helvetica tracked ttu">
|
||||||
{{/*
|
{{/*
|
||||||
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
|
||||||
*/}}
|
*/}}
|
||||||
{{with .CurrentSection.Title }}{{. | upper }}{{end}}
|
{{ .CurrentSection.Title }}
|
||||||
</aside>
|
</aside>
|
||||||
{{ partial "social-share.html" . }}
|
{{ partial "social-share.html" . }}
|
||||||
<h1 class="f1 athelas mt3 mb1">
|
<h1 class="f1 athelas mt3 mb1">
|
||||||
|
@ -9,5 +9,6 @@
|
|||||||
<div class="nested-links f5 lh-copy nested-copy-line-height">
|
<div class="nested-links f5 lh-copy nested-copy-line-height">
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
</div>
|
</div>
|
||||||
|
<a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | default (i18n "readMore") }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,4 +12,5 @@
|
|||||||
<div class="nested-links f5 lh-copy nested-copy-line-height">
|
<div class="nested-links f5 lh-copy nested-copy-line-height">
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
</div>
|
</div>
|
||||||
|
<a href="{{.RelPermalink}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ $.Param "read_more_copy" | default (i18n "readMore") }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user