add new timezone autosetting and cache header setting middlewares

This commit is contained in:
Nick Sweeting 2021-04-10 04:16:12 -04:00
parent 1977ae8962
commit cf7d7e4990
4 changed files with 76 additions and 6 deletions

View file

@ -1,5 +1,8 @@
{% load i18n static %}<!DOCTYPE html>
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
{% load i18n static tz %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language_bidi as LANGUAGE_BIDI %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>{% block title %}{% endblock %} | ArchiveBox</title>