Add URL fragments in build time
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
{{- end }}
|
||||
{{- range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="posts-group">
|
||||
<div class="post-year" id="{{ .Key }}">{{ .Key }}</div>
|
||||
<div class="post-year"><a href="#{{ .Key }}">{{ .Key }}</a></div>
|
||||
<ul class="posts-list">
|
||||
{{- range .Pages }}
|
||||
<li class="post-item">
|
||||
|
||||
Reference in New Issue
Block a user