mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
Improve list pages + support "series"
- Use a <ul>: better accessibility - Background for individual pages in the list, giving a better feeling of separation - Support "series" taxonomy (displayed oldest to newest)
This commit is contained in:
@ -74,6 +74,17 @@
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Params.series }}
|
||||
<div class="series">
|
||||
{{ range ($.GetTerms "series") }}
|
||||
<span class="post-meta-item">
|
||||
{{ partial "icon.html" "files" }}
|
||||
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="tags">
|
||||
{{ range (.GetTerms "tags") }}
|
||||
<span class="post-meta-item">
|
||||
|
Reference in New Issue
Block a user