Merge pull request #139 from ThomasRubini/category_refactor

fixed scrolling category page
This commit is contained in:
Djalim Simaila 2023-01-26 19:36:18 +01:00 committed by GitHub
commit cf5f1b68df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ $allCategory = array(
<li class="hasH3"><h3>Catégories :</h3></li> <li class="hasH3"><h3>Catégories :</h3></li>
<?php <?php
foreach($allCategory as $category => $category_path) { foreach($allCategory as $category => $category_path) {
echo '<li><a href="/category/' . $category_path . '">'. $category . '</a></li>'; echo '<li><a href="/category#' . $category_path . '">'. $category . '</a></li>';
}?> }?>
</ul> </ul>
</aside> </aside>