Some checks failed
Blowfish Docs Deploy / build (push) Has been cancelled
Blowfish Docs Deploy / deploy (push) Has been cancelled
Test Build / Build Example Site (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Update Hugo version / updateBlowfish (push) Has been cancelled
Delete exampleSite Add initial content, images & docker-compose.yml Use extend-head.html for analytics Set remote url to gitea.novicelab.io Remove original .git due to "shallow update not allowed" error
26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
{{ if .Params.series }}
|
|
<summary
|
|
class="py-1 text-lg font-semibold cursor-pointer bg-primary-200 text-neutral-800 -ms-5 ps-5 dark:bg-primary-800 dark:text-neutral-100">
|
|
{{ index .Params.series 0 }} -
|
|
{{ i18n "article.part_of_series" }}
|
|
</summary>
|
|
{{ $seriesName := strings.ToLower (index .Params.series 0) }}
|
|
{{ range $post := sort (index .Site.Taxonomies.series $seriesName) "Params.series_order" }}
|
|
{{ if eq $post.Permalink $.Page.Permalink }}
|
|
<div
|
|
class="py-1 border-dotted border-neutral-300 border-s-1 -ms-5 ps-5 dark:border-neutral-600">
|
|
{{ i18n "article.part" }} {{ $post.Params.series_order }}:
|
|
{{ i18n "article.this_article" }}
|
|
</div>
|
|
{{ else }}
|
|
<div
|
|
class="py-1 border-dotted border-neutral-300 border-s-1 -ms-5 ps-5 dark:border-neutral-600">
|
|
<a href="{{ $post.RelPermalink }}">
|
|
{{ i18n "article.part" }} {{ $post.Params.series_order }}:
|
|
{{ $post.Params.title }}
|
|
</a>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|