diff options
Diffstat (limited to 'templates/poll.html.j2')
| -rw-r--r-- | templates/poll.html.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/poll.html.j2 b/templates/poll.html.j2 index c09f089..14601fb 100644 --- a/templates/poll.html.j2 +++ b/templates/poll.html.j2 @@ -1,5 +1,15 @@ {% extends "base.html.j2" %} +{% block head_meta %} +<title>{{ poll.title }} - diddle 👉👈</title> +<meta name="description" content="{{ poll.description }}"> +<meta property="og:title" content="{{ poll.title }} by {{ poll.author_name }}"> +<meta property="og:description" content="{{ poll.description }}"> +<meta property="og:url" content="{{ poll.share_url() }}"> +<meta property="og:site_name" content="diddle"> +<meta property="og:type" content="website"> +{% endblock %} + {% block content %} <h2><span class="contrast">{{ poll.title }}</span> by <i>{{ poll.author_name }}</i></h2> |
