Commit 7c090e70 authored by Stéphane Pouyllau's avatar Stéphane Pouyllau 💬
Browse files

twitter card 1.0 : version finale

parent f5fe92f8
Pipeline #9034 passed with stage
in 1 minute and 2 seconds
...@@ -73,16 +73,13 @@ xmlns:dcterms="http://purl.org/dc/terms/"> ...@@ -73,16 +73,13 @@ xmlns:dcterms="http://purl.org/dc/terms/">
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<!-- close head 1 --> <!-- close head 1 -->
<!-- twitter card --> <!-- Twitter card -->
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@Huma_Num" /> <meta name="twitter:site" content="@Huma_Num" />
{%- block cardtitle %} {%- block cardtitle %}<meta name="twitter:title" content="{% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}" />{% endblock %}
<meta name="twitter:title" content="{% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}" /> {%- block carddescription %}<meta name="twitter:description" content="{{ config.site_description }}" />{% endblock %}
{% endblock %}
{%- block carddescription %}
<meta name="twitter:description" content="{{ config.site_description }}" />
{% endblock %}
<meta name="twitter:image" content="https://documentation.huma-num.fr/media/DocHN-visuel.png" /> <meta name="twitter:image" content="https://documentation.huma-num.fr/media/DocHN-visuel.png" />
<!-- End of twitter card -->
</head> </head>
<!-- close head 2--> <!-- close head 2-->
......
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