added rich-preview header tags

parent 190d8a33
from .secrets import RELEASE_KEY, DEBUG, SECRET_DATABASES, RELEASE_PROD
"""
Django settings for conlangdict project.
......@@ -13,6 +11,7 @@ https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
from .secrets import RELEASE_KEY, DEBUG, SECRET_DATABASES, RELEASE_PROD
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
......
......@@ -7,6 +7,11 @@
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="{% static 'dictionary/style.css' %}" type="text/css" media="screen" />
<link rel="shortcut icon" href="{% static 'dictionary/mahakala-128x128.png' %}" type="image/png" media="screen" />
<link rel="shortcut icon" href="https://langue.phundrak.fr/favicon.ico" type="image/x-icon" />
<meta property="og:image" content="https://langue.phundrak.fr/img/rich_preview.jpg" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@phundrak" />
<meta name="twitter:creator" content="@phundrak" />
{% block addhead %}{% endblock %}
</head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment