Commit 891fef93 authored by j12t's avatar j12t

Gitlab/Hugo does not pick up the list layout for systems/_index.md -- trying workaround

parent 829769ef
Pipeline #82222331 passed with stages
in 36 seconds
---
title: Systems
layout: systemslist
---
The following systems are currently available:
......
......@@ -40,6 +40,3 @@
</main>
{{ end }}
{{ define "main" }}
<main class="miniresp-main">
<h1 class="title">{{ .Title }}</h1>
{{ if .Params.subtitle }}
<h2 class="subtitle">{{ .Params.subtitle }}</h2>
{{ end }}
<article role="main" class="blog-post">
{{ .Content }}
</article>
<div class="systems-list">
<dl>
{{ range .Paginator.Pages }}
<dt class="system-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
{{ if .Params.status }}
<span class="page-status">{{ .Params.status }}</span>
{{ end }}
</dt>
{{ if .Params.description }}
<dd class="system-entry">{{ .Params.description }}</dd>
{{ end }}
{{ end }}
</dl>
</div>
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<ul class="pager main-pager">
{{ if .Paginator.HasPrev }}
<li class="previous">
<a href="{{ .Permalink }}page/{{ .Paginator.Prev.PageNumber }}">&larr; {{ i18n "newerPosts" }}</a>
</li>
{{ end }}
{{ if .Paginator.HasNext }}
<li class="next">
<a href="{{ .Permalink }}page/{{ .Paginator.Next.PageNumber }}">{{ i18n "olderPosts" }} &rarr;</a>
</li>
{{ end }}
</ul>
{{ end }}
</main>
{{ end }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment