mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-29 12:54:17 +01:00
16 lines
503 B
HTML
16 lines
503 B
HTML
|
<div class="columns is-img-preview">
|
||
|
{{ range $param := .Params }}
|
||
|
<!-- image -->
|
||
|
{{ $items := split $param "|" }}
|
||
|
{{ $src := (index $items 0) }}
|
||
|
{{ $title := (index $items 1) }}
|
||
|
<div class="column">
|
||
|
<a href="{{ $src }}" title="{{ $title }}">
|
||
|
<img src="{{ $src }}" alt="{{ $title }}">
|
||
|
</a>
|
||
|
{{ if $title }}
|
||
|
<p class="has-text-centered is-italic has-text-grey-light">{{ $title }}</p>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
{{ end }}
|
||
|
</div>
|