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