Files
ivatar/templates/header.html
Lukas Schönsgibl f45d4cf05d Update header.html
2019-10-01 10:47:42 +02:00

47 lines
2.8 KiB
HTML

{% load static %}
{% load i18n %}
<link rel="author" type="text/plain" href="{% static 'humans.txt' %}">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="{% static '/img/nobody/57.png' %}">{# iPhone #}
<link rel="apple-touch-icon" sizes="60x60" href="{% static '/img/nobody/60.png' %}">
<link rel="apple-touch-icon" sizes="72x72" href="{% static '/img/nobody/72.png' %}">{# iPad #}
<link rel="apple-touch-icon" sizes="76x76" href="{% static '/img/nobody/76.png' %}">
<link rel="apple-touch-icon" sizes="114x114" href="{% static '/img/nobody/114.png' %}">{# iPhone (hi-res) #}
<link rel="apple-touch-icon" sizes="120x120" href="{% static '/img/nobody/120.png' %}">{# iPhone (retina) #}
<link rel="apple-touch-icon" sizes="144x144" href="{% static '/img/nobody/144.png' %}">{# iPad (hi-res) #}
<link rel="apple-touch-icon" sizes="152x152" href="{% static '/img/nobody/152.png' %}">{# iPad #}
<link rel="apple-touch-icon" sizes="167x167" href="{% static '/img/nobody/167.png' %}">{# iPad (retina) #}
<link rel="apple-touch-icon" sizes="180x180" href="{% static '/img/nobody/180.png' %}">{# iPhone (retina) #}
<link rel="icon" type="image/png" href="{% static '/img/nobody/16.png' %}" sizes="16x16">
<link rel="icon" type="image/png" href="{% static '/img/nobody/32.png' %}" sizes="32x32">
<link rel="icon" type="image/png" href="{% static '/img/nobody/96.png' %}" sizes="96x96">
<link rel="icon" type="image/png" href="{% static '/img/nobody/128.png' %}" sizes="128x128">
<link rel="icon" type="image/png" href="{% static '/img/nobody/195.png' %}" sizes="195x195">
<link rel="mask-icon" href="{% static '/img/safari-pinned-tab.svg' %}" color="#fa711f">
<link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}" type="text/css">
<link rel="stylesheet" href="{% static '/css/fontawesome.min.css' %}">
<!-- Libravatar CSS -->
<link rel="stylesheet" href="{% static "css/libravatar_base.css" %}" type="text/css" media="screen">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<script src="{% static '/js/jquery-3.3.1.slim.min.js' %}"></script>
{% if user.is_authenticated %}
{% if user.userpreference and user.userpreference.theme != 'default' %}
{% with 'css/'|add:user.userpreference.theme|add:'.css' as theme_css %}
<link rel="stylesheet" href="{% static theme_css %}" type="text/css">
{% endwith %}
{% endif %}
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="msapplication-TileImage" content="{% static '/img/nobody/144.png' %}">
<meta name="msapplication-TileColor" content="#36b7d7">
<meta name="apple-mobile-web-app-title" content="ivatar">
<meta name="application-name" content="ivatar">
<meta name="theme-color" content="#36b7d7">
{% block header %}{% endblock header %}