bunteshaus.de/themes/buha/layouts/partials/single/article.html

25 lines
539 B
HTML
Raw Normal View History

2022-04-03 01:27:41 +02:00
<div id="articletitle">
<h1>{{- .Title -}}</h1>
</div>
2022-04-04 05:39:34 +02:00
{{- $pic := index (.Resources.ByType "image") 0 -}}
2022-04-03 01:27:41 +02:00
<article>
<div id="articlecontent">
2022-04-04 03:35:13 +02:00
{{ partial "structure/article_meta" (dict "context" . "visible" "all" ) }}
2022-04-03 01:27:41 +02:00
<div id="articleinner">
<div id="articledata">
<div id="articletext">
{{- .Content -}}
2022-04-04 05:39:34 +02:00
{{- if ne $pic "" -}}
<div id="picture">
<a href="{{ $pic.Permalink }}"><img src="{{ $pic.Permalink }}" /></a>
</div>
{{ end }}
2022-04-03 01:27:41 +02:00
</div>
</div>
</div>
</div>
2022-04-03 02:33:46 +02:00
</article>
2022-04-03 21:08:42 +02:00