You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
753 B
HTML
21 lines
753 B
HTML
2 years ago
|
{{- with index (.GetTerms "series") 0 -}}
|
||
|
<div class="post-series notice--info">
|
||
|
<h3 id="series">This post is part of the <a href="{{ .Permalink }}" style="font-weight: bold">{{ .LinkTitle }}</a> series.</h3>
|
||
|
|
||
|
{{- end -}}
|
||
|
{{- $series := where .Site.RegularPages.ByDate ".Params.series" "intersect" .Params.series -}}
|
||
|
{{- with $series -}}
|
||
|
<ol>
|
||
|
{{- range . -}}
|
||
|
<li>
|
||
|
{{- if eq .File.UniqueID $.File.UniqueID -}}
|
||
|
<b>{{ .Title }}</b>
|
||
|
{{- else -}}
|
||
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||
|
{{- end -}}
|
||
|
</li>
|
||
|
{{- end -}}
|
||
|
</ol>
|
||
|
{{- end -}}
|
||
|
</div>
|