Blog: OpenGraph tags

This commit is contained in:
Pascal Engélibert 2024-09-10 14:03:43 +02:00
parent 9afe876e56
commit 939798238a
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,15 @@
+++
title = "Pourquoi la Ğ1"
date = 2024-09-04
description = "blobloblob"
insert_anchor_links = "left"
draft = true
[taxonomies]
tags = []
+++
## Des monnaies qui posent problème
### La monnaie dette

View file

@ -4,6 +4,16 @@
{% block head %} {% block head %}
<meta property="og:title" content="{{page.title}}"/> <meta property="og:title" content="{{page.title}}"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{page.permalink}}"/>
<meta property="og:locale" content="{{lang}}"/>
{% for t in page.translations %}
{% if t.lang|default(value=config.default_language) != lang %}
<meta property="og:locale:alternate" content="{{t.lang|default(value=config.default_language)}}"/>
{% endif %}
{% endfor %}
<meta property="og:description" content="{{page.description}}"/>
<meta property="og:site_name" content="{{config.extra.sitename}}"/>
{% if page.extra.katex %}{{macros::katex()}}{% endif %} {% if page.extra.katex %}{{macros::katex()}}{% endif %}
{% endblock head %} {% endblock head %}