hugo-labs/layouts/index.html
2018-10-01 10:14:50 +02:00

18 lines
434 B
HTML

{{ define "main" }}
<h1><b>{{ .Site.Title }}</b></h1>
<hr />
<div class="row">
<div class="col-sm-9">
{{ block "news" . }}
{{ range first 3 (where .Pages "Section" "wiadomosci")}}
{{ .Render "content" }}
{{ end }}
{{ end }}
</div>
<div class="col-sm-3">
{{ .Content }}
</div>
</div>
{{ end }}