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