mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
🐛 fix typos in "term" default layout
This commit is contained in:
parent
cfe270e278
commit
cf85d913fb
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
||||||
{{ .Scratch.Set "scope" "list" }}
|
{{ .Scratch.Set "scope" "term" }}
|
||||||
{{ if .Site.Params.term.showHero | default false }}
|
{{ if .Site.Params.term.showHero | default false }}
|
||||||
{{ $heroStyle := print "partials/hero/" .Site.Params.term.heroStyle ".html" }}
|
{{ $heroStyle := print "partials/hero/" .Site.Params.term.heroStyle ".html" }}
|
||||||
{{ if templates.Exists $heroStyle }}
|
{{ if templates.Exists $heroStyle }}
|
||||||
|
@ -39,9 +39,9 @@
|
||||||
|
|
||||||
{{ if gt .Pages 0 }}
|
{{ if gt .Pages 0 }}
|
||||||
|
|
||||||
{{ $cardView := .Params.cardView | default (.Site.Params.list.cardView | default false) }}
|
{{ $cardView := .Params.cardView | default (.Site.Params.term.cardView | default false) }}
|
||||||
{{ $cardViewScreenWidth := .Site.Params.list.cardViewScreenWidth | default false }}
|
{{ $cardViewScreenWidth := .Site.Params.term.cardViewScreenWidth | default false }}
|
||||||
{{ $groupByYear := .Params.groupByYear | default ($.Site.Params.list.groupByYear | default false) }}
|
{{ $groupByYear := .Params.groupByYear | default ($.Site.Params.term.groupByYear | default false) }}
|
||||||
|
|
||||||
{{ if not $cardView }}
|
{{ if not $cardView }}
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<section class="mt-10 prose dark:prose-invert">
|
<section class="mt-10 prose dark:prose-invert">
|
||||||
<p class="py-8 border-t">
|
<p class="py-8 border-t">
|
||||||
<em>{{ i18n "list.no_articles" | emojify }}</em>
|
<em>{{ i18n "term.no_articles" | emojify }}</em>
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue