Fix theme: add partials/base.html.twig for plugin template compatibility

This commit is contained in:
2026-06-18 00:40:44 +02:00
parent d3b79efda7
commit 585e147cfe
2 changed files with 21 additions and 20 deletions
+1 -20
View File
@@ -1,20 +1 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
<link rel="stylesheet" href="{{ url('theme://css/style.css') }}">
</head>
<body>
<header class="site-header">
<a class="site-title" href="{{ base_url_absolute }}">{{ site.title }}</a>
<nav class="site-nav">
<a href="{{ base_url_absolute }}/tracker">Journal</a>
</nav>
</header>
<main class="site-main">
{% block content %}{% endblock %}
</main>
</body>
</html>
{% extends 'partials/base.html.twig' %}
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}</title>
<link rel="stylesheet" href="{{ url('theme://css/style.css') }}">
</head>
<body>
<header class="site-header">
<a class="site-title" href="{{ base_url_absolute }}">{{ site.title }}</a>
<nav class="site-nav">
<a href="{{ base_url_absolute }}/tracker">Journal</a>
</nav>
</header>
<main class="site-main">
{% block content %}{% endblock %}
</main>
</body>
</html>