Parcourir la source

Remove H3 from the main page and forum pages

The search engines are behaving very strangely :(
Visman il y a 2 ans
Parent
commit
a313b142be
2 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 4 4
      app/templates/forum.forkbb.php
  2. 4 4
      app/templates/layouts/subforums.forkbb.php

+ 4 - 4
app/templates/forum.forkbb.php

@@ -91,10 +91,10 @@
               <div class="f-ficon"></div>
             @endif
               <div class="f-finfo">
-                <h3 class="f-finfo-h3">
+                <p class="f-finfo-h3">
                   <span class="f-tmoved" title="{{ __('Moved') }}"><small class="f-movedtxt">{!! __('Moved') !!}</small></span>
                   <a class="f-ftname" href="{{ $topic->link }}">{{ $topic->name }}</a>
-                </h3>
+                </p>
               </div>
             </div>
           </li>
@@ -108,7 +108,7 @@
               <div class="f-ficon"></div>
             @endif
               <div class="f-finfo">
-                <h3 class="f-finfo-h3">
+                <p class="f-finfo-h3">
             @if ($topic->dot)
                   <span class="f-tdot"><span class="f-dottxt">·</span></span>
             @endif
@@ -145,7 +145,7 @@
             @if (false !== $topic->hasUnread || false !== $topic->hasNew)
                   <small>)</small>
             @endif
-                </h3>
+                </p>
                 <p class="f-finfo-p">
                   <span class="f-cmposter">{!! __(['by %s', $topic->poster]) !!}</span>
                   <span class="f-cmposted">{{ dt($topic->posted) }}</span>

+ 4 - 4
app/templates/layouts/subforums.forkbb.php

@@ -4,12 +4,12 @@
               <div class="f-cell f-cmain">
                 <div class="f-ficon"></div>
                 <div class="f-finfo">
-                  <h3 class="f-finfo-h3">
+                  <p class="f-finfo-h3">
                     <span class="f-frsname">
                       <small class="f-fredirtext">{!! __('Link to') !!}</small>
                       <a class="f-ftname" href="{{ $cur->redirect_url }}">{{ $cur->forum_name }}</a>
                     </span>
-                  </h3>
+                  </p>
         @if ('' != $cur->forum_desc)
                   <p class="f-fdesc">{!! $cur->forum_desc !!}</p>
         @endif
@@ -21,7 +21,7 @@
               <div class="f-cell f-cmain">
                 <div class="f-ficon"></div>
                 <div class="f-finfo">
-                  <h3 class="f-finfo-h3">
+                  <p class="f-finfo-h3">
                     <span class="f-frsname">
                       <a class="f-ftname" href="{{ $cur->link }}">{{ $cur->forum_name }}</a>
                     </span>
@@ -30,7 +30,7 @@
                     <span class="f-fnew"><a href="{{ $cur->linkNew }}" title="{{ __('New posts') }}"><small class="f-newtxt">{!! __('New posts') !!}</small></a></span>
                     <small>)</small>
         @endif
-                  </h3>
+                  </p>
         @if ($cur->subforums)
                   <dl class="f-inline f-fsub"><!-- inline -->
                     <dt>{!! __(['Sub forum', \count($cur->subforums)]) !!}</dt>