diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-03-30 01:06:00 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-03-30 01:06:00 +0300 |
commit | 21c3d8a7075e93612a72cd4fa37db3b25e7e9cd3 (patch) | |
tree | 49d40a4846ca9b20619dc1dd8db50e4ba009ad3c /templates/page.html | |
parent | 021dfd45a1f666100995a836d23002960ac13e9a (diff) | |
download | yaroslavps.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.html | 2 |
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" /> |