mirror of
https://github.com/bugsink/bugsink.git
synced 2026-01-02 03:10:25 -06:00
barest_base: don't assume user is set.
its purpose is to "not break" for e.g. 404/500, so I want as little logic in there as possible.
This commit is contained in:
2
theme/static/css/dist/styles.css
vendored
2
theme/static/css/dist/styles.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{% load static tailwind_tags %}<!DOCTYPE html>{# copy of bare_base.html, but without even a menu bar #}
|
||||
<html lang="en" data-theme="{% if user.is_authenticated %}{{ user.theme_preference }}{% else %}system{% endif %}">
|
||||
<html lang="en" data-theme="system">
|
||||
<head>
|
||||
<title>{% block title %}Bugsink{% endblock %}</title>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
Reference in New Issue
Block a user