From 74805083e0490b1eb201ac7f6ecd0a3d68fa232c Mon Sep 17 00:00:00 2001 From: Mischa Date: Wed, 17 Jun 2026 23:51:52 +0200 Subject: [PATCH] Fix theme: CSS specificity, hero_image URL, form include safety --- themes/intotheeast/css/style.css | 8 ++++---- themes/intotheeast/templates/post-form.html.twig | 2 +- themes/intotheeast/templates/tracker.html.twig | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/themes/intotheeast/css/style.css b/themes/intotheeast/css/style.css index 91eeba7..1692288 100644 --- a/themes/intotheeast/css/style.css +++ b/themes/intotheeast/css/style.css @@ -56,9 +56,9 @@ body { margin-bottom: 0.4rem; } -.entry-title { font-size: 1.3rem; margin-bottom: 0.75rem; } -.entry-title a { color: inherit; text-decoration: none; } -.entry-title a:hover { text-decoration: underline; } +.entry-card .entry-title { font-size: 1.3rem; margin-bottom: 0.75rem; } +.entry-card .entry-title a { color: inherit; text-decoration: none; } +.entry-card .entry-title a:hover { text-decoration: underline; } .entry-thumb { margin-bottom: 0.75rem; } .entry-thumb img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; } @@ -76,7 +76,7 @@ body { /* Single entry */ .entry-header { margin-bottom: 1.5rem; } .entry-header .entry-date { margin-bottom: 0.5rem; } -.entry-title { font-size: 1.8rem; } +.entry .entry-title { font-size: 1.8rem; } .entry-body { margin-bottom: 2rem; } .entry-body p { margin-bottom: 1em; } .entry-body img { max-width: 100%; height: auto; border-radius: 4px; } diff --git a/themes/intotheeast/templates/post-form.html.twig b/themes/intotheeast/templates/post-form.html.twig index a1d48b1..92a23db 100644 --- a/themes/intotheeast/templates/post-form.html.twig +++ b/themes/intotheeast/templates/post-form.html.twig @@ -3,6 +3,6 @@ {% block content %}

{{ page.title }}

- {% include 'partials/form.html.twig' %} + {% include 'partials/form.html.twig' ignore missing %}
{% endblock %} diff --git a/themes/intotheeast/templates/tracker.html.twig b/themes/intotheeast/templates/tracker.html.twig index c58a7eb..46807f1 100644 --- a/themes/intotheeast/templates/tracker.html.twig +++ b/themes/intotheeast/templates/tracker.html.twig @@ -14,7 +14,7 @@ {% if entry.header.hero_image %}
- {{ entry.title }} + {{ entry.title }}
{% endif %}