mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-01 18:18:50 +00:00
24 lines
457 B
HTML
24 lines
457 B
HTML
{{- define "main" -}}
|
|
|
|
{{/* List of all authors. */}}
|
|
|
|
{{ partial "page_header.html" . }}
|
|
|
|
<div class="universal-wrapper">
|
|
{{ with .Content }}
|
|
<div class="article-style">{{ . }}</div>
|
|
{{ end }}
|
|
|
|
<ul>
|
|
{{ $paginator := .Paginate .Data.Pages }}
|
|
{{ range $k, $v := $paginator.Pages }}
|
|
{{ $name := $v.Title }}
|
|
<li><a href="{{$v.Permalink}}">{{$name}}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
|
|
{{ partial "pagination" . }}
|
|
</div>
|
|
|
|
{{- end -}}
|