Commit cdfb02aa authored by nsauret's avatar nsauret
Browse files

custom theme: working page.meta

parent 7cb30782
......@@ -22,7 +22,8 @@ the blocks defined in base.html and its included child templates.
<!-- 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"/>
<meta property="dcterms:date" content="{{ build_date_utc.strftime('%Y-%m-%d') }}"/>
{% if page %}<meta property="dcterms:lang" content="{% if page.meta.lang %}{{ page.meta.lang }}{% else %}fr{% endif %}"/>{% endif %}
{% if page and page.canonical_url %}<meta property="dcterms:identify" content="{{ page.canonical_url}}"/>{% endif %}
<!-- une tentative {{ page.meta.description }} -->
{%- endblock %}
{% if page.meta and page.meta.description %}<meta property="dcterms:description" content="{{ page.meta.description }}"/>{% endif %}
{% endblock %}
lang: fr
# Huma-Num in a Nutshell
 Supported by the CNRS (the French National Center for Scientific
......
lang: es
# Huma-Num en una palabra
Huma-Num es una Gran Infraestructura de Investigación ("Très Grande
......
Supports Markdown
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