mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-22 05:58:33 +00:00
fa13a9b9e2
* disable_comments -> comments * dateformat -> dateFormat * CardsColumns -> cardsPerRow
18 lines
No EOL
557 B
HTML
18 lines
No EOL
557 B
HTML
{{ partial "header.html" . }}
|
|
<div class="main">
|
|
{{- if not .IsHome}}
|
|
<div class="page block">
|
|
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
|
{{ with .Content }}<div class="page__content">{{ . }}</div>{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
<div class="cards">
|
|
{{ range .Paginator.Pages }}
|
|
<div class="card{{ with .Site.Params.cardsPerRow }} card--{{ . }}col{{ else }} card--2col{{ end }}">
|
|
{{ .Render "summary" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ partial "pagination.html" . }}
|
|
</div>
|
|
{{ partial "footer.html" . }} |