summaryrefslogtreecommitdiff
path: root/blog/plt/page.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 03:56:24 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-05 03:56:24 -0600
commit8aed7291d95070d8dbb8ce322de4108918c0f8f1 (patch)
tree68fb197617f3157ca3e36a28e4b889ca13e4f36b /blog/plt/page.html
parent0e91926ff40b3df1914375165633bb703c176558 (diff)
add og support
Diffstat (limited to 'blog/plt/page.html')
-rw-r--r--blog/plt/page.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/blog/plt/page.html b/blog/plt/page.html
index 6128d3b..dbb2734 100644
--- a/blog/plt/page.html
+++ b/blog/plt/page.html
@@ -1,6 +1,16 @@
{%extends "base.html"%}
{%block html_lang%}{{page.lang}}{%endblock html_lang%}
{%block head_title%}{{page.title}}{%endblock head_title%}
+{%block head_description%}{{page.summary}}{%endblock head_description%}
+{%block head_og%}
+ <meta property="og:title" content="{{page.title}} -- {{config.title}}"/>
+ <meta property="og:type" content="article"/>
+ <meta property="og:url" content="{{page.url}}"/>
+ <meta property="og:image" content="{{page.image_url}}"/>
+ <meta property="og:description" content="{{page.summary}}"/>
+ <meta property="og:locale" content="{{page.lang}}"/>
+ <meta property="og:site_name" content="{{config.title}}"/>
+{%endblock head_og%}
{%block content%}
<h1>{{page.title}}</h1>