diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-11-10 22:23:54 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-11-10 22:23:54 +0100 |
commit | 5ac63f9679cb623621136c36021bfcca654331f3 (patch) | |
tree | d9e528d8764ca67308931d0fe9cffbb1aacf539c /themes/elenq | |
parent | 09a36278fc6a187a996fbd05899d23f282dc1c90 (diff) |
Diffstat (limited to 'themes/elenq')
-rw-r--r-- | themes/elenq/templates/article.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/elenq/templates/article.html b/themes/elenq/templates/article.html index 868b8bb..e5be1be 100644 --- a/themes/elenq/templates/article.html +++ b/themes/elenq/templates/article.html @@ -1,13 +1,18 @@ {% extends "base.html" %} {% block head %} {{ super() }} + + {% if article.title %} + <meta name="og:title" content="{{article.title | striptags }}" /> + {% endif %} {% if article.description %} <meta name="description" content="{{article.description}}" /> + <meta name="og:description" content="{{article.description}}" /> {% endif %} - {% for tag in article.tags %} <meta name="tags" content="{{tag}}" /> {% endfor %} + <meta property="og:type" content="article" /> {% endblock %} |