hugo-labs/layouts/index.html

18 lines
434 B
HTML
Raw Permalink Normal View History

2018-06-07 14:28:01 +02:00
{{ define "main" }}
2018-10-01 10:14:50 +02:00
<h1><b>{{ .Site.Title }}</b></h1>
<hr />
2018-06-07 14:28:01 +02:00
<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 }}