diff options
author | Alan Pearce | 2024-05-29 16:03:14 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-29 16:03:14 +0200 |
commit | be8552ef29fc7b3aa2a2d9de541afe3ce9c24ec0 (patch) | |
tree | d84759a2c20320cf3dbb0453208cf16303231c33 /templates/section.html | |
parent | 99423f57f79499f13d021970c1efb4529072006b (diff) | |
download | zola-bearblog-be8552ef29fc7b3aa2a2d9de541afe3ce9c24ec0.tar.lz zola-bearblog-be8552ef29fc7b3aa2a2d9de541afe3ce9c24ec0.tar.zst zola-bearblog-be8552ef29fc7b3aa2a2d9de541afe3ce9c24ec0.zip |
improve accessibility and HTML validity
Diffstat (limited to 'templates/section.html')
-rw-r--r-- | templates/section.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/templates/section.html b/templates/section.html index a389c93..a3520b5 100644 --- a/templates/section.html +++ b/templates/section.html @@ -13,7 +13,7 @@ <li> <span> <i> - <time datetime='{{ page.date | date(format='%+') }}' pubdate> + <time datetime="{{ page.date | date(format='%+') }}" pubdate> {{ page.date | date(format=config.extra.date_format) }} </time> </i> @@ -24,13 +24,11 @@ <li>{{ trans(key="no_posts", lang=lang) }}</li> {%- endfor -%} </ul> - <small> - <div> - {%- set tags = get_taxonomy(kind="tags", lang=lang) %} - {%- for post in tags.items %} + <div class="tags"> + {%- set tags = get_taxonomy(kind="tags", lang=lang) %} + {%- for post in tags.items %} <a href="{{ post.permalink }}">#{{ post.name }}</a> - {%- endfor %} - </div> - </small> + {%- endfor %} + </div> </main> {% endblock %} |