fixed html escaping and fixed env variable names

This commit is contained in:
Leonard Lorenz 2020-11-21 21:17:33 +01:00
parent 7becde6dc7
commit 7f4637e13f
4 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content=" {{ post.title }} | {{ username }}' blog" />
<meta property="og:description" content="{{ post.body }}" />
<meta property="og:description" content="{{ post.body | safe | striptags }}" />
<meta property="og:image" content="/static/site-image.png" />
<title> {{ post.title }} | {{ username }}' blog </title>