From 65607677645f54079c520256c061ff67e29fef8c Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Mon, 19 Aug 2024 22:12:20 +0200 Subject: [PATCH] Tailwind: Explicitly point to python file containing class --- issues/templates/issues/event_404.html | 1 - issues/templates/issues/event_details.html | 1 - theme/static_src/tailwind.config.js | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/issues/templates/issues/event_404.html b/issues/templates/issues/event_404.html index e3edf77..0a01a0c 100644 --- a/issues/templates/issues/event_404.html +++ b/issues/templates/issues/event_404.html @@ -4,7 +4,6 @@ {% block tab_content %} -{# this is here to fool tailwind (because we're foolish enough to put html in python) #}
diff --git a/issues/templates/issues/event_details.html b/issues/templates/issues/event_details.html index 0e893c5..cf65a90 100644 --- a/issues/templates/issues/event_details.html +++ b/issues/templates/issues/event_details.html @@ -4,7 +4,6 @@ {% block tab_content %} -{# this is here to fool tailwind (because we're foolish enough to put html in python) #}
{{ event.ingested_at|date:"j M G:i T" }} (Event {{ event.digest_order }} of {{ issue.digested_event_count }})
diff --git a/theme/static_src/tailwind.config.js b/theme/static_src/tailwind.config.js index 5edc2e3..fe43981 100644 --- a/theme/static_src/tailwind.config.js +++ b/theme/static_src/tailwind.config.js @@ -42,6 +42,8 @@ module.exports = { * and make sure the pattern below matches your project structure. */ // '../../**/*.py' + "../../issues/views.py", + ], theme: { extend: {