mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-04-16 05:38:33 +02:00
Fix: date in services
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
{{ define "main" }}
|
||||
{{ $pages := .Pages.ByTitle }}
|
||||
{{ $sectionPagerSize := or site.Params.sectionPagerSize 10 }}
|
||||
{{ $paginator := .Paginate $pages $sectionPagerSize }}
|
||||
{{ .Content }}
|
||||
<h1>Services</h1>
|
||||
{{ range $index, $page := $paginator.Pages }}
|
||||
<h2 class="home-post-title">{{ add $index 1 }}. <a href="{{ $page.RelPermalink }}">{{ $page.LinkTitle }}</a></h2>
|
||||
|
||||
<nav class="uninotes-breadcrumbs breadcrumbs">
|
||||
<a href="/services/">Services</a>
|
||||
</nav>
|
||||
|
||||
<h1>Services</h1>
|
||||
|
||||
<ol class="uninotes-list uninotes-list--subjects">
|
||||
{{ range .Pages.ByTitle }}
|
||||
<li class="uninotes-list__item">
|
||||
<a class="uninotes-list__link" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<nav class="paginator">
|
||||
{{- partial "pagination.html" . }} {{/* embedded template */}}
|
||||
</nav>
|
||||
</ol>
|
||||
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user