Blog: OpenGraph tags
This commit is contained in:
parent
9afe876e56
commit
939798238a
2 changed files with 25 additions and 0 deletions
15
content/blog/why-g1/index.fr.md
Normal file
15
content/blog/why-g1/index.fr.md
Normal 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
|
||||
|
||||
|
|
@ -4,6 +4,16 @@
|
|||
|
||||
{% block head %}
|
||||
<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 %}
|
||||
{% endblock head %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue