hugo-labs/layouts/index.html

17 lines
416 B
HTML
Raw Normal View History

2018-06-07 14:28:01 +02:00
{{ define "main" }}
<h1>{{ .Site.Title }}</h1>
<div class="row">
<div class="col-sm-9">
{{ block "news" . }}
2018-09-29 00:56:21 +02:00
{{ range first 3 (where .Pages "Section" "wiadomosci")}}
{{ .Render "content" }}
{{ end }}
2018-06-07 14:28:01 +02:00
{{ end }}
</div>
<div class="col-sm-3">
{{ .Content }}
</div>
</div>
{{ end }}