1
0
forked from Git/hugo-story

Upload files to 'layouts/partials'

This commit is contained in:
2023-07-01 23:51:20 +02:00
parent a0003e730d
commit fbb0b4788b
2 changed files with 10 additions and 11 deletions

View File

@ -5,10 +5,10 @@
{{ 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>
<li><a href="{{ .link }}" class="button default large wide smooth-scroll-middle">{{ .label }}</a></li>
</ul>{{ end }}
</div>
{{ with .image }}<div class="image">
<img src="{{.}}" alt="Hugo Story" />
<img src="{{.}}" alt="AGR.asia" />
</div>{{end}}
</section>
</section>