0.4.43 title and description

This commit is contained in:
SDE
2024-01-06 00:00:54 +03:00
parent 54a01d2a0e
commit b3c84f3a44
5 changed files with 40 additions and 11 deletions

View File

@@ -1,4 +1,12 @@
{% load static %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
{# <link href="https://fonts.googleapis.com/css2?family=Verdana&display=swap" rel="stylesheet">#}
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
{# <link rel="stylesheet" href="{% static "fonts/fonts.css" %}">#}
{#<link rel="stylesheet" href="{% static "fonts/Raleway-Black.ttf" %}">#}
{#<link rel="stylesheet" href="{% static "fonts/Raleway-BlackItalic.ttf" %}">#}
{#<link rel="stylesheet" href="{% static "fonts/Raleway-Bold.ttf" %}">#}

View File

@@ -0,0 +1,19 @@
{% if page.seo_title %}
<title>{{ page.seo_title }}</title>
{% elif page.title %}
<title>{{ page.title }}</title>
{% elif page.name %}
<title>{{ page.name }}</title>
{% endif %}
{% if page.seo_description %}
<meta name="description" content="{{ page.seo_description }}"/>
{% elif page.description %}
<meta name="description" content="{{ page.description }}"/>
{% endif %}
{% if page.seo_keywords %}
<meta name="keywords" content="{{ page.seo_keywords }}"/>
{% elif page.description %}
<meta name="keywords" content="{{ page.description }}"/>
{% endif %}