aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-03-30 01:06:00 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-03-30 01:06:00 +0300
commit21c3d8a7075e93612a72cd4fa37db3b25e7e9cd3 (patch)
tree49d40a4846ca9b20619dc1dd8db50e4ba009ad3c /templates/page.html
parent021dfd45a1f666100995a836d23002960ac13e9a (diff)
downloadyaroslavps.com-21c3d8a7075e93612a72cd4fa37db3b25e7e9cd3.tar.gz
yaroslavps.com-21c3d8a7075e93612a72cd4fa37db3b25e7e9cd3.zip
Remove html on og:description tag
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html
index 12240b7..2ee72d6 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -4,7 +4,7 @@
<meta property="og:url" content="{{ page.permalink }}" />
<meta property="og:type" content="article" />
{% if page.summary %}
-<meta property="og:description" content="{{ page.summary }}" />
+<meta property="og:description" content="{{ page.summary | striptags }}" />
{% endif %}
{% if page.permalink is containing("food") %}
<meta property="og:image" content="recipe.jpg" />