website/layouts/_default/section.html

27 lines
515 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
{{ .Content }}
<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 }}