mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-07-01 07:22:17 +02:00
42 lines
1.0 KiB
HTML
42 lines
1.0 KiB
HTML
{{ define "main" }}
|
|
|
|
<nav class="uninotes-breadcrumbs breadcrumbs">
|
|
<a href="/services/">Services</a>
|
|
</nav>
|
|
|
|
<h1>Services</h1>
|
|
|
|
{{ $registrationServices := slice }}
|
|
{{ $openServices := slice }}
|
|
{{ range .Pages.ByWeight }}
|
|
{{ if index .Params "registration-needed" }}
|
|
{{ $registrationServices = $registrationServices | append . }}
|
|
{{ else }}
|
|
{{ $openServices = $openServices | append . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ with $registrationServices }}
|
|
<h2 class="services-group__title">Need Registration</h2>
|
|
<ol class="uninotes-list uninotes-list--subjects">
|
|
{{ range . }}
|
|
<li class="uninotes-list__item">
|
|
<a class="uninotes-list__link" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ol>
|
|
{{ end }}
|
|
|
|
{{ with $openServices }}
|
|
<h2 class="services-group__title">Without Registration</h2>
|
|
<ol class="uninotes-list uninotes-list--subjects">
|
|
{{ range . }}
|
|
<li class="uninotes-list__item">
|
|
<a class="uninotes-list__link" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ol>
|
|
{{ end }}
|
|
|
|
{{ end }}
|