feat: adds base url for relative links

This commit is contained in:
Iain Learmonth 2026-03-08 16:05:50 +00:00
parent 9be181ee10
commit cc97b296b7

View file

@ -1,5 +1,6 @@
{% from "article.css.j2" import article_css %}<!DOCTYPE html>
<html {% if page_direction %} dir="{{ page_direction }}"{% endif %}{% if page_language %} lang={{ page_language }}{% endif %} prefix="og: https://ogp.me/ns#">
<html {% if page_direction %} dir="{{ page_direction }}"{% endif %}{% if page_language %} lang="{{ page_language }}"{% endif %} prefix="og: https://ogp.me/ns#">
<base href="{{ article_url }}" />
<head>
<meta charset="utf-8">
<title>{{ article_title }}</title>