Files
drs/layouts/partials/post.html
T
2022-02-12 23:03:42 +01:00

10 lines
458 B
HTML

<!-- Spotlight -->
<section class="spotlight style1 orient-right content-align-left image-position-center" {{ with .id }} id="{{ . }}"{{ end }}>
<div class="content">
{{ with .title }}<h2>{{ . }}</h2>{{ end }}
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
{{ with .button }}<ul class="actions stacked">
<li><a href="{{ .link }}" class="button">{{ .label }}</a></li>
</ul>{{ end }}
</div>
</section>