mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
readd _copy params to templates
This commit is contained in:
parent
a161d51020
commit
0b5445ac2c
@ -16,7 +16,7 @@
|
|||||||
{{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}}
|
{{/* Use $section_name to get the section title. Use "with" to only show it if it exists */}}
|
||||||
{{ with .Site.GetPage "section" $section_name }}
|
{{ with .Site.GetPage "section" $section_name }}
|
||||||
<h1 class="flex-none">
|
<h1 class="flex-none">
|
||||||
{{ i18n "recentTitle" . }}
|
{{ $.Param "recent_copy" | default (i18n "recentTitle" .) }}
|
||||||
</h1>
|
</h1>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
|
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
</div>
|
</div>
|
||||||
<a href="{{.URL}}" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">{{ i18n "readMore" }}</a>
|
<a href="{{.URL}}" 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>
|
||||||
{{/* TODO: add author
|
{{/* TODO: add author
|
||||||
<p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
|
<p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user