mirror of
https://github.com/caressofsteel/hugo-story.git
synced 2024-12-23 01:49:47 +01:00
13 lines
507 B
HTML
13 lines
507 B
HTML
<!-- Spotlight -->
|
|
<section class="spotlight {{ .style }}"{{ 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>
|
|
{{ with .image }}<div class="image">
|
|
<img src="{{ . }}" alt="" />
|
|
</div>{{ end }}
|
|
</section> |