2022-06-13 04:08:02 +02:00
|
|
|
{{ $title := .title }}
|
|
|
|
|
|
|
|
{{ $p := .pages }}
|
|
|
|
{{ if and (.limit) (not .paginate) }}
|
|
|
|
{{ $p = first .limit .pages }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ $paginator := .pages }}
|
|
|
|
{{ if .paginate }}
|
|
|
|
{{ $paginator = .context.Paginate $p }}
|
|
|
|
{{ $p = $paginator.Pages }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{ if $p }}
|
2022-06-15 21:48:37 +02:00
|
|
|
<div class="links_wrapper">
|
|
|
|
{{ range $p }}
|
|
|
|
<div class="links" style="display: flex; flex-direction: column;">
|
|
|
|
<a href="{{ .Params.Link }}" class="t">
|
|
|
|
{{ .Title }}
|
|
|
|
</a>
|
|
|
|
<a href="{{ .Params.Link }}" class="p">
|
|
|
|
{{ .Params.Link }}
|
|
|
|
</a>
|
|
|
|
<a href="{{ .Params.Link }}" class="s">
|
|
|
|
{{ .Content }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2022-06-13 04:08:02 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|