fix: added context processor

This commit is contained in:
2024-12-16 09:54:59 +01:00
parent ef91ef9090
commit fe2888c9a6
9 changed files with 28 additions and 23 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
{% load i18n %}
{% load static %}
{% load web %}
<nav class="bg-white dark:bg-gray-800 antialiased">
<!-- Left side -->
<div class="max-w-screen-xl px-4 mx-auto 2xl:px-0 py-4">
@@ -10,7 +9,7 @@
<div class="flex items-center space-x-8">
<div class="shrink-0">
<a class="flex flex-row items-center" href="{% url 'web:index' %}">
<img class="w-8 h-8 mr-2" src="{% get_logo_image %}" alt="{{ web_title }}">
<img class="w-8 h-8 mr-2" src="{{ logo }}" alt="{{ web_title }}">
<h1 class="text-xl font-semibold text-gray-900 dark:text-white">{{ web_title }}</h1>
</a>
</div>