Bladeren bron

seo audit hn

Tessier 4 jaren geleden
bovenliggende
commit
db22994426

File diff suppressed because it is too large
+ 1 - 1
web/app/themes/la_mine/dist/assets/css/index.css


File diff suppressed because it is too large
+ 0 - 0
web/app/themes/la_mine/dist/assets/css/index.min.css


+ 1 - 1
web/app/themes/la_mine/src/assets/scss/components/_thumbnails.scss

@@ -67,7 +67,7 @@
         h3{
           font-size: 1.5rem;
         }
-        h5{
+        h5, h2{
             font-family: 'universalis-bold';
             font-size: 1.25rem;
             line-height: 1;

+ 1 - 1
web/app/themes/la_mine/templates/agenda.twig

@@ -34,7 +34,7 @@
 		{% for item in posts %}
 			{% set end = item.informations_fin_event|date("Ymd") %}
 			{% if now <= end %}
-				{% include 'components/thumbnails/thumbnails.twig'%}
+				{% include 'components/thumbnails/thumbnails.twig' with { hn : 'h2'} %}
 			{% endif %}
 		{% endfor %}
 

+ 1 - 1
web/app/themes/la_mine/templates/archive.twig

@@ -35,7 +35,7 @@
     {% for item in posts %}
       {% set end = item.informations_fin_event|date("Ymd") %}
       {% if now >= end %}
-        {% include 'components/thumbnails/thumbnails.twig'%}
+        {% include 'components/thumbnails/thumbnails.twig'  with { hn : 'h2'} %}
       {% endif %}
     {% endfor %}
 

+ 7 - 1
web/app/themes/la_mine/templates/components/thumbnails/thumbnails.twig

@@ -12,6 +12,12 @@
   {% set class = 'col-12 col-md-6 col-lg-6' %}
 {% endif %} #}
 
+{% if hn == true %}
+  {% set hn = hn %}
+{% else %}
+  {% set hn = 'h5' %}
+{% endif %}
+
 <article class="thumbnails col-12 col-md-6 col-lg-4 {{cat}}">
   <a rel="noreferrer" href="{{site.url}}/{{item.post_name}}">
     <figure>
@@ -25,7 +31,7 @@
       </div>
 
       <figcaption class="wrap_content">
-        <h5>{{title}}</h5>
+        <{{hn}}>{{title}}</{{hn}}>
         <div class="content">
           <div class="date">
             {% set start = item.informations_debut_event|date("Ydj") %}

Some files were not shown because too many files changed in this diff