49 lines
2.7 KiB
HTML
49 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
{% load static %}<html lang="ru">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
<!-- SEO & Meta -->
|
|
<title>{% block Title %}{% endblock %}</title>
|
|
<meta name="description" content="{% block Description %}{% endblock %}" />
|
|
<meta name="keywords" content="{% block Keywords %}{% endblock %}" />
|
|
<meta name="copyright" content="Sergei Erjemin (дизайн){% block CopyrightAuthor4Meta %}{% endblock %}." />
|
|
<meta name="robots" content="index,follow" />
|
|
|
|
<!-- Open Graph / Social Media -->
|
|
<meta property="og:type" content="article" />
|
|
<meta property="og:title" content="{% block OgTitle %}{{ DQ.szContent|truncatechars:60 }}{% endblock %}" />
|
|
<meta property="og:description" content="{% block OgDescription %}{{ DQ.szIntro|default:'' }} {{ DQ.szContent }} {{ AUTHOR.szAuthor|default:'' }}{% endblock %}" />
|
|
<meta property="og:url" content="{{ request.build_absolute_uri }}" />
|
|
<meta property="og:site_name" content="DicQuo" />
|
|
{% if IMAGE %}<meta property="og:image" content="{{ request.scheme }}://{{ request.get_host }}{{ IMAGE.url }}" />{% endif %}
|
|
|
|
<!-- Technical Meta -->
|
|
<meta http-equiv="Last-Modified" content="{% block Last4Meta %}{% endblock %}" />
|
|
<meta name="generator" content="Django" />
|
|
|
|
<!-- Favicons -->
|
|
<link rel="shortcut icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}" />
|
|
<link rel="icon" type="image/png" href="{% static 'img/favicon.png' %}" />
|
|
|
|
<!-- Styles -->
|
|
<link rel="stylesheet" href="{% static 'css/dicquo.css' %}" />
|
|
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background: rgb({% for i in CLR %}{% if forloop.counter <= 3 %}{{ i|stringformat:"02d" }}{% if forloop.counter < 3 %},{%endif %}{% endif %}{% empty %}87,00,00{% endfor %});
|
|
background: -webkit-linear-gradient(to right, rgb({% for i in CLR %}{% if forloop.counter <= 3 %}{{ i|stringformat:"02d" }}{% if forloop.counter < 3 %},{%endif %}{% endif %}{% empty %}87,00,00{% endfor %}), rgb({% for i in CLR %}{% if forloop.counter > 3 %}{{ i|stringformat:"02d" }}{% if not forloop.last %},{%endif %}{% endif %}{% empty %}19,10,05{% endfor %}));
|
|
background: linear-gradient(to right, rgb({% for i in CLR %}{% if forloop.counter <= 3 %}{{ i|stringformat:"02d" }}{% if forloop.counter < 3 %},{%endif %}{% endif %}{% empty %}87,00,00{% endfor %}), rgb({% for i in CLR %}{% if forloop.counter > 3 %}{{ i|stringformat:"02d" }}{% if not forloop.last %},{%endif %}{% endif %}{% empty %}19,10,05{% endfor %}));
|
|
}
|
|
</style>
|
|
|
|
{% block ExtraHead %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
{% block CONTENT %}{% endblock %}
|
|
{% include "blocks/counters.html" %}
|
|
</body>
|
|
</html> |