From 9bf3e34a6136815c99487599fb4b19ed703227a9 Mon Sep 17 00:00:00 2001 From: daudix-UFO Date: Mon, 25 Dec 2023 05:45:07 +0300 Subject: [PATCH] feat: base_url -> get_url --- templates/blog_list.html | 2 +- templates/includes/comments.html | 2 +- templates/taxonomy_single.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/blog_list.html b/templates/blog_list.html index 6f9cbff..2fcf36b 100644 --- a/templates/blog_list.html +++ b/templates/blog_list.html @@ -6,7 +6,7 @@

{{ section.description }}

- Filter by tag + Filter by tag
From newest to oldest ↓
diff --git a/templates/includes/comments.html b/templates/includes/comments.html index 9297d69..ca9d808 100644 --- a/templates/includes/comments.html +++ b/templates/includes/comments.html @@ -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); diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html index cf29795..9c9ff9f 100644 --- a/templates/taxonomy_single.html +++ b/templates/taxonomy_single.html @@ -3,7 +3,7 @@ {% block content %}

Posts with tag “{{ term.name }}”

- See all tags + See all tags
{{ term.pages | length }} posts in total