mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-11-24 16:02:18 +00:00
Replaced 'Posts in this series' on sidebar with 'Posts in [name_of_series]
This commit is contained in:
parent
bf5f99bf61
commit
74bae5736d
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
[overview]
|
[overview]
|
||||||
other = "In this thread"
|
other = "In this thread"
|
||||||
|
|
||||||
|
[series_posts]
|
||||||
|
other = "Posts in "
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if (and ($relatedInSidebar) (isset .Params "series") ) }}
|
{{ if (and ($relatedInSidebar) (isset .Params "series") ) }}
|
||||||
{{$related := where .Site.RegularPages ".Params.series" "eq" .Params.series }}
|
{{$related := where .Site.RegularPages ".Params.series" "eq" .Params.series }}
|
||||||
<h2 class="mt-4">{{ T "series_posts" }}</h2>
|
<h2 class="mt-4">{{ T "series_posts" }}{{ .Params.series }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
{{ range $related }}
|
{{ range $related }}
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in a new issue