summaryrefslogtreecommitdiffstats
path: root/templates/authors/single.html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-12-26 19:07:29 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-12-26 19:07:29 +0100
commiteb79cee7ef6bdc4a44aabfce10617a18be2b8d96 (patch)
treedf4d5555c4bd23732ad06c6893c2610855ceb5f5 /templates/authors/single.html
parent96762ba965d60bd09493ac19cb06cbd0798e44b0 (diff)
downloadrabalderz-eb79cee7ef6bdc4a44aabfce10617a18be2b8d96.tar.gz
rabalderz-eb79cee7ef6bdc4a44aabfce10617a18be2b8d96.tar.bz2
rabalderz-eb79cee7ef6bdc4a44aabfce10617a18be2b8d96.zip
Add opengraph support.
Diffstat (limited to 'templates/authors/single.html')
-rw-r--r--templates/authors/single.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/authors/single.html b/templates/authors/single.html
index f61ac4b..5acc50f 100644
--- a/templates/authors/single.html
+++ b/templates/authors/single.html
@@ -1,4 +1,9 @@
{% extends "base.html" %}
+{% block opengraph %}
+ <meta property="og:title" content="{{ term.name }}">
+ <meta property="og:type" content="profile">
+ <meta property="og:url" content="{{ term.permalink | safe }}">
+{% endblock opengraph %}
{% block content %}
<h1 class="author">{{ trans(key="posts_by", lang=lang) }} {{ term.name }}</h1>