forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
d5aa3d7c11
commit
4891597e91
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
title: "Matrix Space"
|
||||
date: "2022-04-11T20:37:00+02:00"
|
||||
about: true
|
||||
categories: ["Buha"]
|
||||
featured: true
|
||||
---
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ if and (.limit) (not .paginate) }}
|
||||
{{ $p = first .limit .pages }}
|
||||
{{ end }}
|
||||
|
||||
{{ $act_section := .context.Section }}
|
||||
{{ $paginator := .pages }}
|
||||
{{ if .paginate }}
|
||||
{{ $paginator = .context.Paginate $p }}
|
||||
|
@ -44,17 +44,19 @@
|
|||
<a href="{{ .Permalink }}">
|
||||
<section>
|
||||
{{ if $title }}<h3>{{ else }}<h2>{{ end }}
|
||||
{{ if .Params.events }}
|
||||
{{ index .Params.events 0 }}:
|
||||
{{ else if .Params.recurrent }}
|
||||
{{ if i18n "recurrent"}}
|
||||
{{ i18n "recurrent"}}:
|
||||
{{ else }}
|
||||
{{ "Recurrent"}}:
|
||||
{{ end }}
|
||||
{{ else if .Params.categories }}
|
||||
{{ if in .Params.categories "Buha" }}
|
||||
In eigener Sache:
|
||||
{{ if ne $act_section "about" }}
|
||||
{{ if .Params.events }}
|
||||
{{ index .Params.events 0 }}:
|
||||
{{ else if .Params.recurrent }}
|
||||
{{ if i18n "recurrent"}}
|
||||
{{ i18n "recurrent"}}:
|
||||
{{ else }}
|
||||
{{ "Recurrent"}}:
|
||||
{{ end }}
|
||||
{{ else if .Params.categories }}
|
||||
{{ if in .Params.categories "Buha" }}
|
||||
In eigener Sache:
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ .Title }}
|
||||
|
@ -117,6 +119,11 @@
|
|||
<img src="{{ $i }}" />
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if .Truncated }}
|
||||
<div class="readmore" style="margin-top: 1em; text-align: right;">
|
||||
{{ if i18n "readmore" }}{{ i18n "readmore" }}{{ else }}{{ "read more" }}{{ end }}..
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user