Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{%- for page in pages %}
|
||||
<section class="list-item">
|
||||
<h1 class="title text-peach">
|
||||
<a href={{ page.permalink }}>{{page.title}}</a>
|
||||
<a href={{ page.permalink | safe }}>{{page.title}}</a>
|
||||
</h1>
|
||||
|
||||
<div class="meta">
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
|
||||
{% if not hide_read_more %}
|
||||
<a class="readmore text-peach" href={{ page.permalink }}>Read more ⟶</a>
|
||||
<a class="readmore text-peach" href={{ page.permalink | safe }}>Read more ⟶</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
|
@@ -1,10 +1,10 @@
|
||||
|
||||
{% macro page_back_link(page) %}
|
||||
{% set top_section = get_section(path=page.ancestors | last) %}
|
||||
<a class="previous" href="{{ top_section.permalink }}">‹ back</a>
|
||||
<a class="previous" href="{{ top_section.permalink | safe }}">‹ back</a>
|
||||
{% endmacro page_back_link %}
|
||||
|
||||
{% macro section_back_link(section) %}
|
||||
{% set top_section = get_section(path=section.ancestors | last) %}
|
||||
<a class="previous" href="{{ top_section.permalink }}">‹ back</a>
|
||||
<a class="previous" href="{{ top_section.permalink | safe }}">‹ back</a>
|
||||
{% endmacro section_back_link %}
|
||||
|
Reference in New Issue
Block a user