feat(Views): add meta tags
This commit is contained in:
parent
09b52a7fc3
commit
bbd822c0b8
4 changed files with 31 additions and 10 deletions
|
@ -15,10 +15,12 @@ Github: https://github.com/lefuturiste
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Slab&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Slab&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="/styles/main.css" />
|
<link rel="stylesheet" href="/styles/main.css" />
|
||||||
{% if layout is not defined %}
|
{% if layout is not defined %}
|
||||||
<link rel="stylesheet" href="/styles/home.css" />
|
<link rel="stylesheet" href="/styles/home.css" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
|
|
||||||
|
<meta property="og:locale" content="fr">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="up-footer">
|
<div class="up-footer">
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
{% extends "./base.twig" %}
|
{% extends "./base.twig" %}
|
||||||
{% block title %}Le site va ouvrir prochainement{% endblock %}
|
{% block title %}Accueil{% endblock %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/styles/countdown.css" />
|
<meta name="description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce à au forum virtuel mit en place par l'Espace Condorcet" />
|
||||||
|
<meta name="keywords" content="associations,condorcet,espace condorcet,gaillon,aubevoye,forum,virtuel,centre social,village des associations" />
|
||||||
|
|
||||||
|
<meta property="og:title" content="Forum virtuel des associations">
|
||||||
|
<meta property="og:description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce à au forum virtuel mit en place par l'Espace Condorcet">
|
||||||
|
<meta property="og:image" content="/imgs/espace_condorcet_logo.jpg">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/styles/countdown.css" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="countdown" id="countdown">
|
<div class="countdown" id="countdown">
|
||||||
|
@ -33,8 +40,8 @@
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script>
|
<script>
|
||||||
let openDate = new Date(`{{ openDate }}`)
|
let openDate = new Date(`{{ openDate }}`)
|
||||||
</script>
|
</script>
|
||||||
<script src="/scripts/countdown.js"></script>
|
<script src="/scripts/countdown.js"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -1,6 +1,13 @@
|
||||||
{% extends "./base.twig" %}
|
{% extends "./base.twig" %}
|
||||||
{% block title %}Accueil{% endblock %}
|
{% block title %}Accueil{% endblock %}
|
||||||
{% block head %}{% endblock %}
|
{% block head %}
|
||||||
|
<meta name="description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce à au forum virtuel mit en place par l'Espace Condorcet" />
|
||||||
|
<meta name="keywords" content="associations,condorcet,espace condorcet,gaillon,aubevoye,forum,virtuel,centre social,village des associations" />
|
||||||
|
|
||||||
|
<meta property="og:title" content="Forum virtuel des associations">
|
||||||
|
<meta property="og:description" content="Découvrez la riche vie associative autour de Gaillon-Aubevoye grâce à au forum virtuel mit en place par l'Espace Condorcet">
|
||||||
|
<meta property="og:image" content="/imgs/espace_condorcet_logo.jpg">
|
||||||
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="nav">
|
<div class="nav">
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
{% extends "./base.twig" %}
|
{% extends "./base.twig" %}
|
||||||
{% block title %}{{ data.name }}{% endblock %}
|
{% block title %}{{ data.name }}{% endblock %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="stylesheet" href="/styles/organization.css" />
|
<link rel="stylesheet" href="/styles/organization.css" />
|
||||||
<meta name="description" content="{{ data.descriptionShort }}">
|
<meta name="description" content="{{ data.descriptionShort }}">
|
||||||
|
{#<meta name="keywords" content="Gaillon,association,">#}
|
||||||
|
|
||||||
|
<meta property="og:title" content="{{ data.name }}">
|
||||||
|
<meta property="og:description" content="{{ data.descriptionShort }}">
|
||||||
|
<meta property="og:image" content="{{ data.thumbnail.location }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
|
Loading…
Reference in a new issue