mirror of
https://github.com/caressofsteel/hugo-story.git
synced 2024-12-22 09:35:07 +01:00
14 lines
588 B
HTML
14 lines
588 B
HTML
<!-- Banner -->
|
|
<section class="banner {{ .style }}">
|
|
<div class="content">
|
|
{{ with .title }}<h1>{{ . }}</h1>{{ end }}
|
|
{{ with .subtitle }}<p class="major">{{ . | safeHTML }}</p>{{ end }}
|
|
{{ with .content }}<p>{{ . | safeHTML }}</p>{{ end }}
|
|
{{ with .button }}<ul class="actions stacked">
|
|
<li><a href="{{ .link }}" class="button primary large wide smooth-scroll-middle">{{ .label }}</a></li>
|
|
</ul>{{ end }}
|
|
</div>
|
|
{{ with .image }}<div class="image">
|
|
<img src="{{.}}" alt="Hugo Story" />
|
|
</div>{{end}}
|
|
</section> |