push url on blog section

This commit is contained in:
gws 2024-11-14 10:03:43 +01:00
parent d856e04b68
commit 8307d7a51b

View file

@ -24,7 +24,7 @@
<div class="heading-text">{{ section.title }}</div>
<ul class="blog">
{% for page in section.pages %}
<li class="blog card" hx-get="{{ page.permalink | safe }}">
<li class="blog card" hx-get="{{ page.permalink | safe }}" hx-push-url="true">
<div>
<a href="{{ page.permalink | safe }}">
<strong class="title article-title">{{ page.title }}</strong>
@ -39,9 +39,7 @@
<div itemprop="summary" class="content article-body">
{{ page.summary | safe }}
<nav class="readmore">
<a itemprop="url" href="{{ page.permalink | safe }}">Read
More&nbsp;&raquo;
</a>
<a itemprop="url" href="{{ page.permalink | safe }}">Read More&nbsp;&raquo; </a>
</nav>
</div>
{% endif %}