Commit 7cb30782 authored by nsauret's avatar nsauret
Browse files

add custom meta and add metadatas - failing page.meta.foo

parent 2b20a3fb
{% extends "base.html" %}
{#
The entry point for the ReadTheDocs Theme.
Any theme customisations should override this file to redefine blocks defined in
the various templates. The custom theme should only need to define a main.html
which `{% extends "base.html" %}` and defines various blocks which will replace
the blocks defined in base.html and its included child templates.
#}
{%- block site_meta %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page and page.is_homepage %}<meta name="description" content="{{ config.site_description }}">{% endif %}
{% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %}
{% if page and page.canonical_url %}<link rel="canonical" href="{{ page.canonical_url }}">{% endif %}
{% if config.site_favicon %}<link rel="shortcut icon" href="{{ config.site_favicon|url }}">
{% else %}<link rel="shortcut icon" href="{{ 'img/favicon.ico'|url }}">{% endif %}
<!-- Metadonnées pour crawler Isidore -->
<meta property="dcterms:title" content="{% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}"/>
<meta property="dcterms:creator" content="Huma-Num"/>
{% if page and page.canonical_url %}<meta property="dcterms:identify" content="{{ page.canonical_url}}"/>{% endif %}
<!-- une tentative {{ page.meta.description }} -->
{%- endblock %}
---
lang: fr
---
# Conditions générales d’utilisation (CGU)
*Version en cours.
......
description: Présentation, fonctionnement et utilisation du gestionnaire de fichiers ShareDocs
# ShareDocs - Présentation, fonctionnement et utilisation
## Présentation et conditions d’accès à ShareDocs
......
site_name: Documentation de la TGIR Huma-Num
site_description: Documentation des services et des outils offert par la TGIR Huma-Num à la communauté SHS francophone
site_url: https://documentation.huma-num.fr/
site_dir: public
copyrigth: CC-BY-SA
......
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