change(SEO): set custom title to each page
This commit is contained in:
parent
6ac8b27f25
commit
03702f163a
2 changed files with 17 additions and 4 deletions
BIN
apps/gnous_eu/static/images/gnous.png
Normal file
BIN
apps/gnous_eu/static/images/gnous.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
|
@ -21,16 +21,29 @@
|
||||||
<!-- Open Graph / Facebook -->
|
<!-- Open Graph / Facebook -->
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="{{ request.path }} ">
|
<meta property="og:url" content="{{ request.path }} ">
|
||||||
<meta property="og:title" content="Gnous.eu - Bienvenue">
|
<meta property="og:site_name" content="GnousEU" />
|
||||||
<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: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.svg' %}">
|
<meta property="og:image" content="{% static 'images/gnous.png' %}">
|
||||||
|
|
||||||
<!-- Twitter -->
|
<!-- Twitter -->
|
||||||
<meta property="twitter:card" content="summary_large_image">
|
<meta property="twitter:card" content="summary_large_image">
|
||||||
<meta property="twitter:url" content="{{ request.path }} ">
|
<meta property="twitter:url" content="{{ request.path }} ">
|
||||||
<meta property="twitter:title" content="Gnous.eu - Bienvenue">
|
|
||||||
<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: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.svg' %}">
|
<meta property="twitter:image" content="{% static 'images/gnous.png' %}">
|
||||||
|
|
||||||
|
{% if request.resolver_match.url_name == 'index' %}
|
||||||
|
<meta property="og:title" content="Gnous.eu - Bienvenue">
|
||||||
|
<meta property="twitter:title" content="Gnous.eu - Bienvenue">
|
||||||
|
{% elif request.resolver_match.url_name == 'services' %}
|
||||||
|
<meta property="og:title" content="Gnous.eu - Services">
|
||||||
|
<meta property="twitter:title" content="Gnous.eu - Services">
|
||||||
|
{% elif request.resolver_match.url_name == 'about' %}
|
||||||
|
<meta property="og:title" content="Gnous.eu - À propos">
|
||||||
|
<meta property="twitter:title" content="Gnous.eu - À propos">
|
||||||
|
{% elif request.resolver_match.url_name == 'tips' %}
|
||||||
|
<meta property="og:title" content="Gnous.eu - Don">
|
||||||
|
<meta property="twitter:title" content="Gnous.eu - Don">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="{% static 'stylesheets/css/index.css' %}">
|
<link rel="stylesheet" href="{% static 'stylesheets/css/index.css' %}">
|
||||||
|
|
Loading…
Reference in a new issue