hugo-labs/layouts/index.html

17 lines
416 B
HTML

{{ define "main" }}
<h1>{{ .Site.Title }}</h1>
<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 }}