feat: base_url -> get_url
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
<p>{{ section.description }}</p>
|
<p>{{ section.description }}</p>
|
||||||
|
|
||||||
<small>
|
<small>
|
||||||
<a class="link-page" href="{{ config.base_url }}/tags">Filter by tag</a>
|
<a class="link-page" href="{{ get_url(path='tags') }}">Filter by tag</a>
|
||||||
<br />
|
<br />
|
||||||
From newest to oldest ↓
|
From newest to oldest ↓
|
||||||
</small>
|
</small>
|
||||||
|
@ -289,7 +289,7 @@ which were inspired by https://codeberg.org/jwildeboer/jwildeboersource/src/comm
|
|||||||
} else if(
|
} else if(
|
||||||
status.card != null &&
|
status.card != null &&
|
||||||
status.card.image != null &&
|
status.card.image != null &&
|
||||||
!status.card.url.startsWith("{{ config.base_url }}")
|
!status.card.url.startsWith("{{ get_url(path='') }}")
|
||||||
) {
|
) {
|
||||||
let cardImg = document.createElement("img");
|
let cardImg = document.createElement("img");
|
||||||
cardImg.setAttribute("src", status.card.image);
|
cardImg.setAttribute("src", status.card.image);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Posts with tag “{{ term.name }}”</h1>
|
<h1>Posts with tag “{{ term.name }}”</h1>
|
||||||
<small>
|
<small>
|
||||||
<a class="link-page" href="{{ config.base_url }}/tags">See all tags</a>
|
<a class="link-page" href="{{ get_url(path='tags') }}">See all tags</a>
|
||||||
<br />
|
<br />
|
||||||
{{ term.pages | length }} posts in total
|
{{ term.pages | length }} posts in total
|
||||||
</small>
|
</small>
|
||||||
|
Reference in New Issue
Block a user