Fix the name of tag__list-item elements
I changed the class name of these elements in a prior commit and forgot to update this template.
This commit is contained in:
parent
4a5dc3a318
commit
1eba82c96b
1 changed files with 4 additions and 6 deletions
|
@ -1,13 +1,11 @@
|
|||
{{- $years := .years -}}
|
||||
{{- $includeCollapsedYearItem := .includeCollapsedYearItem -}}
|
||||
<nav class="year-nav tag">
|
||||
<span class="tag__name">{{ i18n "yearsTagTitle" }}</span>
|
||||
<ul class="tag__value--list">
|
||||
{{ range $years -}}
|
||||
<li class="tag__value__list-item"><a href="#{{ .Date | time.Format "2006" }}">{{ .LinkTitle }}</a></li>
|
||||
{{ range .years -}}
|
||||
<li class="tag__list-item"><a href="#{{ .Date | time.Format "2006" }}">{{ .LinkTitle }}</a></li>
|
||||
{{ end }}
|
||||
{{ if $includeCollapsedYearItem -}}
|
||||
<li class="tag__value__list-item"><a href="#older">{{ i18n "olderPagesSectionTitle" }}</a></li>
|
||||
{{ if .includeCollapsedYearItem -}}
|
||||
<li class="tag__list-item"><a href="#older">{{ i18n "olderPagesSectionTitle" }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue