Improve metadata on poll pages

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-12-17 15:14:29 +01:00
parent e7f7e26141
commit dffd7edf42
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -13,6 +13,11 @@
<script src="{"js/app/adminstuds.js"|resource}"></script>
<link rel="stylesheet" href="{'css/easymde.min.css'|resource}">
{/if}
<meta name="twitter:card" content="summary" />
<meta property="og:title" content="{$poll->title|html} - {$APPLICATION_NAME|html}" />
{if $poll->description}
<meta property="og:description" content="{$poll->description|markdown:true}" />
{/if}
{/block}