add og description tag

This commit is contained in:
Tomáš Mládek 2020-12-28 20:09:10 +01:00
parent 2a832b1b8b
commit f65327c740

View file

@ -11,6 +11,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:site_name" content="{{garden_title}}" /> <meta property="og:site_name" content="{{garden_title}}" />
<meta property="og:title" content="{{page_title}}" /> <meta property="og:title" content="{{page_title}}" />
<meta property="og:description" content="{{content | striptags | truncate(length=256)}}" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="https://{{server_name}}/{{path}}" /> <meta property="og:url" content="https://{{server_name}}/{{path}}" />
<meta property="og:image" content="/static/favicon.png" /> <meta property="og:image" content="/static/favicon.png" />