gnousdoteu-v3/apps/gnous_eu/templates/layouts/head.html

56 lines
3 KiB
HTML
Raw Normal View History

2020-05-16 02:12:21 +02:00
{% load static %}
{% load i18n %}
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="turbolinks-cache-control" content="no-preview">
<link rel="shortcut icon" href="{% static 'images/favicon.ico' %}" type="image/x-icon">
<title>Gnous.eu
{% if request.resolver_match.url_name == 'index' %} - {% trans "Accueil" %} {% endif %}
{% if request.resolver_match.url_name == 'services' %} - {% trans "Services" %} {% endif %}
{% if request.resolver_match.url_name == 'about' %} - {% trans "À propos" %} {% endif %}
{% if request.resolver_match.url_name == 'tips' %} - {% trans "Dons" %} {% endif %}
</title>
2020-05-16 23:47:42 +02:00
<meta name="description" content="GnousEU est une communauté francophones de passionnés du libre. Elle fournit entre autre des services gratuits libre d'accès.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="{{ request.path }} ">
<meta property="og:site_name" content="GnousEU" />
2020-05-16 23:47:42 +02:00
<meta property="og:description" content="GnousEU est une communauté francophones de passionnés du libre. Elle fournit entre autre des services gratuits libre d'accès.">
<meta property="og:image" content="{% static 'images/gnous.png' %}">
2020-05-16 23:47:42 +02:00
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="{{ request.path }} ">
<meta property="twitter:description" content="GnousEU est une communauté francophones de passionnés du libre. Elle fournit entre autre des services gratuits libre d'accès.">
<meta property="twitter:image" content="{% static 'images/gnous.png' %}">
{% if request.resolver_match.url_name == 'index' %}
2020-05-16 23:59:49 +02:00
<meta name="title" content="Gnous.eu - Bienvenue">
<meta property="og:title" content="Gnous.eu - Bienvenue">
<meta property="twitter:title" content="Gnous.eu - Bienvenue">
{% elif request.resolver_match.url_name == 'services' %}
2020-05-16 23:59:49 +02:00
<meta name="title" content="Gnous.eu - Services">
<meta property="og:title" content="Gnous.eu - Services">
<meta property="twitter:title" content="Gnous.eu - Services">
{% elif request.resolver_match.url_name == 'about' %}
2020-05-16 23:59:49 +02:00
<meta name="title" content="Gnous.eu - À propos">
<meta property="og:title" content="Gnous.eu - À propos">
<meta property="twitter:title" content="Gnous.eu - À propos">
{% elif request.resolver_match.url_name == 'tips' %}
2020-05-16 23:59:49 +02:00
<meta name="title" content="Gnous.eu - Don">
<meta property="og:title" content="Gnous.eu - Don">
<meta property="twitter:title" content="Gnous.eu - Don">
{% endif %}
2020-05-16 23:47:42 +02:00
2020-05-17 00:37:22 +02:00
<link rel="stylesheet" href="{% static 'stylesheets/css/index.min.css' %}">
2020-05-16 02:12:21 +02:00
<script src="{% static 'javascripts/turbolinks.js' %}"></script>
<script src="{% static 'javascripts/main.js' %}" defer></script>
</head>