feat(header.html): use wagtail site name instead of hard-coded
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{% load i18n %}
|
||||
{% load i18n wagtailcore_tags %}
|
||||
<header class="bg-blue-900 text-white shadow-md">
|
||||
<div class="container mx-auto flex items-center justify-between py-4 px-6">
|
||||
<a class="text-xl font-bold" href="/">Kursy</a>
|
||||
<div class="container mx-auto flex items-center justify-between py-4 px-6">
|
||||
{% wagtail_site as current_site %}
|
||||
<a class="text-xl font-bold" href="/">{{ current_site.site_name }}</a>
|
||||
|
||||
<!-- search bar for large screens -->
|
||||
<form action="{% url 'search' %}" method="get" class="hidden md:flex items-center bg-blue-950 rounded-md absolute left-1/2 transform -translate-x-1/2">
|
||||
|
||||
Reference in New Issue
Block a user