diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-12-20 13:22:09 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-12-21 19:43:13 +0200 |
| commit | cd07f3b15c5055a9b7ee50da2161b42c56af5114 (patch) | |
| tree | c77ce4a53483e21f3517bed1b37a680064cbf2aa /templates/manage.html.j2 | |
| parent | edad25c53e4c3d6a9ea285c82913fb8486471dc9 (diff) | |
Add Open Graph meta tags to poll and manage pages
Fixes #2
Diffstat (limited to 'templates/manage.html.j2')
| -rw-r--r-- | templates/manage.html.j2 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/manage.html.j2 b/templates/manage.html.j2 index 8cd2027..551e941 100644 --- a/templates/manage.html.j2 +++ b/templates/manage.html.j2 @@ -1,5 +1,15 @@ {% extends "base.html.j2" %} +{% block head_meta %} +<title>Manage "{{ poll.title }}" - diddle 👉👈</title> +<meta name="description" content="{{ poll.description }}"> +<meta property="og:title" content="Manage "{{ poll.title }}""> +<meta property="og:description" content="Manage diddle 👉👈 poll"> +<meta property="og:url" content="{{ poll.manage_url() }}"> +<meta property="og:site_name" content="diddle"> +<meta property="og:type" content="website"> +{% endblock %} + {% block content %} <h2>Managing <span class="contrast">{{ poll.title }}</span> by <i>{{ poll.author_name }}</i></h2> @@ -157,4 +167,4 @@ function copyShareLink() { } </script> -{% endblock %}
\ No newline at end of file +{% endblock %} |
