Commit 2448ddfd authored by Louis's avatar Louis

Ajout de méta données

parent 49089f7b
Pipeline #210002 passed with stages
in 8 minutes and 53 seconds
......@@ -31,7 +31,7 @@
<title>{% block title %}Bienvenue{% endblock %} — Ab Absurdo</title>
<!-- Open graph protocol -->
<!-- Metadata et Open graph protocol -->
{% block opengraph %}
<meta property="og:title" content="{{ config.PROJECT.name }}" />
<meta property="og:type" content="website" />
......@@ -40,6 +40,9 @@
<meta property="og:description" content="Site web d'un professeur de mathématiques au lycée." />
<meta property="og:locale" content="{{ config.PROJECT.locale }}" />
<meta property="og:site_name" content="{{ config.PROJECT.name }}" />
<meta name="description" content="Site web d'un professeur de mathématiques au lycée." />
<meta name="author" content="{{ config.PROJECT.author }}" />
{% endblock %}
{% block head %}{% endblock %}
......
......@@ -29,6 +29,9 @@
{% for tag in this.tags -%}
<meta property="og:article:tag" content="{{ tag|replace("_", " ") }}" />
{% endfor %}
<meta name="description" content="{{ this.description }}" />
<meta name="author" content="{{ config.PROJECT.author }}" />
{% endblock %}
{% block body %}
......
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