Make ids match what's shown
This commit is contained in:
parent
ff80f78a82
commit
46426c57b2
1 changed files with 4 additions and 3 deletions
|
@ -13,9 +13,10 @@
|
||||||
|
|
||||||
{{ range .Pages.GroupByDate "2006-01" }}
|
{{ range .Pages.GroupByDate "2006-01" }}
|
||||||
{{ $month := print .Key "-01" }}
|
{{ $month := print .Key "-01" }}
|
||||||
<h3 class="mt-5" id="{{ $month }}">
|
{{ $display := dateFormat "2006-01" $month }}
|
||||||
<a href="#{{ $month }}" class="no-color-change">
|
<h3 class="mt-5" id="{{ $display }}">
|
||||||
<time datetime="{{ $month }}" title='{{ dateFormat "January 2006" $month }}'>{{ dateFormat "2006-01" $month }}</time>
|
<a href="#{{ $display }}" class="no-color-change">
|
||||||
|
<time datetime="{{ $month }}" title='{{ dateFormat "January 2006" $month }}'>{{ $display }}</time>
|
||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
{{ range (sort .Pages "Date" "desc") }}
|
{{ range (sort .Pages "Date" "desc") }}
|
||||||
|
|
Loading…
Reference in a new issue