mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-12-25 12:12: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]
|
||||
other = "In this thread"
|
||||
|
||||
[series_posts]
|
||||
other = "Posts in "
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
{{- end }}
|
||||
{{ if (and ($relatedInSidebar) (isset .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>
|
||||
{{ range $related }}
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue