Improve metadata on poll pages
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e7f7e26141
commit
dffd7edf42
@ -13,6 +13,11 @@
|
|||||||
<script src="{"js/app/adminstuds.js"|resource}"></script>
|
<script src="{"js/app/adminstuds.js"|resource}"></script>
|
||||||
<link rel="stylesheet" href="{'css/easymde.min.css'|resource}">
|
<link rel="stylesheet" href="{'css/easymde.min.css'|resource}">
|
||||||
{/if}
|
{/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}
|
{/block}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user