Fix custom CSS not being used in reader mode (#1102)

This commit is contained in:
Sascha Ißbrücker
2025-06-20 06:22:08 +02:00
committed by GitHub
parent 7a4236d179
commit 68c104ba54

View File

@@ -21,6 +21,9 @@
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#161822"> <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#161822">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#5856e0"> <meta name="theme-color" media="(prefers-color-scheme: light)" content="#5856e0">
{% endif %} {% endif %}
{% if request.user_profile.custom_css %}
<link href="{% url 'linkding:custom_css' %}?hash={{ request.user_profile.custom_css_hash }}" rel="stylesheet" type="text/css"/>
{% endif %}
</head> </head>
<body> <body>
<template id="content">{{ content|safe }}</template> <template id="content">{{ content|safe }}</template>