Set resource reader flag in topic detail content

This commit is contained in:
2025-11-30 12:07:00 -05:00
parent 7f769d003b
commit 3abdd05425
+1 -4
View File
@@ -113,12 +113,9 @@
</style>
{% endblock %}
<script>
document.body.dataset.resourceReader = 'true';
</script>
{% block content %}
<h1>{{ topic_name }}</h1>
<script>document.body.dataset.resourceReader = "true";</script>
<p class="subtitle">{{ topic.description }}</p>
{% if pdf_available and pdf_url %}