forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
7f5b6db3f1
commit
859e1b78ab
|
@ -78,7 +78,7 @@
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- .Summary -}}
|
{{- .Summary -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if or .Truncated (eq $meta "true") }}
|
{{ if .Truncated }}
|
||||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -30,15 +30,12 @@
|
||||||
<div id="articlemeta">
|
<div id="articlemeta">
|
||||||
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
||||||
<div style="margin-bottom: .4em;">{{ .Params.when }}</div>
|
<div style="margin-bottom: .4em;">{{ .Params.when }}</div>
|
||||||
{{ $meta = true }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
||||||
{{ if eq .Params.price "free" }}
|
{{ if eq .Params.price "free" }}
|
||||||
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
||||||
{{ $meta = true }}
|
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
||||||
{{ $meta = true }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,7 +61,7 @@
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- .Summary -}}
|
{{- .Summary -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if or .Truncated (eq $meta true) }}
|
{{ if .Truncated }}
|
||||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -86,15 +83,12 @@
|
||||||
<div id="articlemeta">
|
<div id="articlemeta">
|
||||||
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
{{ if and (ne .Params.when "") (ne .Params.when nil) }}
|
||||||
<div style="margin-bottom: .4em;">{{ .Params.when }}</div>
|
<div style="margin-bottom: .4em;">{{ .Params.when }}</div>
|
||||||
{{ $meta = true }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
{{ if and (ne .Params.price "") (ne .Params.price nil) }}
|
||||||
{{ if eq .Params.price "free" }}
|
{{ if eq .Params.price "free" }}
|
||||||
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
<div style="margin-bottom: .4em;">Der Eintritt ist frei.</div>
|
||||||
{{ $meta = true }}
|
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
<div style="margin-bottom: .4em;">Eintritt: {{ .Params.price }}</div>
|
||||||
{{ $meta = true }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -120,7 +114,7 @@
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- .Summary -}}
|
{{- .Summary -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if or .Truncated (eq $meta true) }}
|
{{ if .Truncated }}
|
||||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,5 +24,12 @@
|
||||||
RSS</a><br><br>
|
RSS</a><br><br>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
|
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
|
||||||
|
<div style="display: flex; flex-direction: row; margin-left: 1rem;">
|
||||||
|
{{ range $.Site.Home.AllTranslations }}
|
||||||
|
{{ if ne .Lang $.Lang }}
|
||||||
|
<a href="{{- .Permalink -}}">{{- .Lang -}}</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
|
<a href="{{- . | relLangURL -}}">{{- $name | humanize -}}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div style="display: flex; flex-direction: column; margin-left: 1rem;">
|
|
||||||
{{ range $.Site.Home.AllTranslations }}
|
|
||||||
{{ if ne .Lang $.Lang }}
|
|
||||||
<a href="{{- .Permalink -}}">{{- .Lang -}}</a>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user