clarify show more button

This commit is contained in:
Ell 2024-05-21 21:51:06 +02:00
parent 9f9a3b911a
commit 2346822be7

View file

@ -33,7 +33,7 @@
{% endfor %} {% endfor %}
{% if total > 6 %} {% if total > 6 %}
<button type="button" class="btn btn-link devlog-more" id="devlog-more-{{ slug }}">Show more</button> <button type="button" class="btn btn-link devlog-more" id="devlog-more-{{ slug }}">Show more {{ include.tag }} posts</button>
<script> <script>
$("#devlog-more-{{ slug }}").on("click", function () { $("#devlog-more-{{ slug }}").on("click", function () {
$(".devlog-{{ slug }}").removeAttr("hidden"); $(".devlog-{{ slug }}").removeAttr("hidden");