website/layouts/_default/section.html

25 lines
498 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
<div class="container">
<div class="row">
{{ range .Pages }}
<div class="col xs-12 md-6">
<a href="{{ .Permalink }}">
<div class="card">
<div class="card-title align-center">
<img src="{{ .Params.image }}" width="48" height="48" class="mr-4">
{{ .Title }}
</div>
<hr>
<div class="card-text">
{{ .Params.desc }} ...
</div>
</div>
</a>
</div>
{{ end }}
</div>
</div>
{{ end }}