aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-06-09 18:54:59 -0500
committerJesús <heckyel@hyperbola.info>2019-06-09 18:54:59 -0500
commit5858c0d8168f6b47a56a198e56c307edbf5c1c52 (patch)
tree5e78c7b81f70830a013430b0fe4eaec1ee7117d6
parentd2340f3032adc76feed7d3701319e8fe269c352c (diff)
downloadcl-5858c0d8168f6b47a56a198e56c307edbf5c1c52.tar.lz
cl-5858c0d8168f6b47a56a198e56c307edbf5c1c52.tar.xz
cl-5858c0d8168f6b47a56a198e56c307edbf5c1c52.zip
fix semantic HTML
-rw-r--r--cl-theme/templates/article_info.html4
-rw-r--r--cl-theme/templates/base.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/cl-theme/templates/article_info.html b/cl-theme/templates/article_info.html
index 7ba6ef2..29470b2 100644
--- a/cl-theme/templates/article_info.html
+++ b/cl-theme/templates/article_info.html
@@ -1,5 +1,5 @@
<!-- post footer -->
-<div class="card-content-footer">
+<footer class="card-content-footer">
<span class="soumaicon">
<svg>
<use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
@@ -62,6 +62,6 @@
{% else %}
{% endif %}
-</div>
+</footer>
<!-- end of post footer -->
<!-- /.post-info -->
diff --git a/cl-theme/templates/base.html b/cl-theme/templates/base.html
index db0bd19..337f5c2 100644
--- a/cl-theme/templates/base.html
+++ b/cl-theme/templates/base.html
@@ -108,7 +108,7 @@
<!-- end page header -->
<!-- page content -->
- <div class="main-content">
+ <main class="main-content">
{%- block content -%}
<div class="container">
<!-- start of posts -->
@@ -190,7 +190,7 @@
{% include "pagination.html" %}
<!-- end of pagination -->
{%- endblock -%}
- </div>
+ </main>
<!-- end of page content -->
<!-- .site-content -->