Add Table of Contents
also refactor CSS
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<h2 id="months">Months</h2>
|
||||
{{range .Months}}
|
||||
<div class="diary-section">
|
||||
<h2 class="diary-heading">
|
||||
<a href="{{.URL}}">{{.Name}}</a>
|
||||
{{if .PhotoCount}}<span class="diary-photo-count">({{.PhotoCount}} photos)</span>{{end}}
|
||||
</h2>
|
||||
</div>
|
||||
<h3 id="{{.ID}}">
|
||||
<a href="{{.URL}}">{{.Name}}</a>
|
||||
{{if .PhotoCount}}<span class="muted">({{.PhotoCount}} photos)</span>{{end}}
|
||||
</h3>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user