Browse Source

fix semantic HTML

Jesús 1 month ago
parent
commit
5858c0d816
Signed by: Jesús <heckyel@hyperbola.info> GPG Key ID: F6EE7BC59A315766
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      cl-theme/templates/article_info.html
  2. 2
    2
      cl-theme/templates/base.html

+ 2
- 2
cl-theme/templates/article_info.html View File

@@ -1,5 +1,5 @@
1 1
 <!-- post footer -->
2
-<div class="card-content-footer">
2
+<footer class="card-content-footer">
3 3
     <span class="soumaicon">
4 4
         <svg>
5 5
             <use href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/master.svg#calendar" />
@@ -62,6 +62,6 @@
62 62
     {% else %}
63 63
     {% endif %}
64 64
 
65
-</div>
65
+</footer>
66 66
 <!-- end of post footer -->
67 67
 <!-- /.post-info -->

+ 2
- 2
cl-theme/templates/base.html View File

@@ -108,7 +108,7 @@
108 108
         <!-- end page header -->
109 109
 
110 110
         <!-- page content -->
111
-        <div class="main-content">
111
+        <main class="main-content">
112 112
             {%- block content -%}
113 113
                 <div class="container">
114 114
                     <!-- start of posts -->
@@ -190,7 +190,7 @@
190 190
                 {% include "pagination.html" %}
191 191
                 <!-- end of pagination -->
192 192
             {%- endblock -%}
193
-        </div>
193
+        </main>
194 194
         <!-- end of page content -->
195 195
         <!-- .site-content -->
196 196