bunteshaus.de/themes/buha/layouts/partials/single/article.html
2022-04-04 05:39:34 +02:00

25 lines
539 B
HTML

<div id="articletitle">
<h1>{{- .Title -}}</h1>
</div>
{{- $pic := index (.Resources.ByType "image") 0 -}}
<article>
<div id="articlecontent">
{{ partial "structure/article_meta" (dict "context" . "visible" "all" ) }}
<div id="articleinner">
<div id="articledata">
<div id="articletext">
{{- .Content -}}
{{- if ne $pic "" -}}
<div id="picture">
<a href="{{ $pic.Permalink }}"><img src="{{ $pic.Permalink }}" /></a>
</div>
{{ end }}
</div>
</div>
</div>
</div>
</article>