summaryrefslogtreecommitdiff
path: root/blog/plt/base.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/base.html
parent0e91926ff40b3df1914375165633bb703c176558 (diff)
add og support
Diffstat (limited to 'blog/plt/base.html')
-rw-r--r--blog/plt/base.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/blog/plt/base.html b/blog/plt/base.html
index 3350593..6c56ac4 100644
--- a/blog/plt/base.html
+++ b/blog/plt/base.html
@@ -1,11 +1,13 @@
<!DOCTYPE html>
-<html lang="{%block html_lang%}{%endblock html_lang%}">
+<html lang="{%block html_lang%}{%endblock html_lang%}"
+ prefix="og: https://ogp.me/ns#">
<head>
- <base href="{{site_base_static_url}}">
+ <base href="{{config.static_url}}">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>{%block head_title%}{%endblock head_title%} -- {{site_title}}</title>
- <link rel="alternate" type="application/rss+xml" href="{{site_base_url}}/rss.xml" title="{{site_title}} RSS">
+ <title>{%block head_title%}{%endblock head_title%} -- {{config.title}}</title>
+ <meta name="description" content"{%block head_description%}{%endblock head_description%}"/>
+ <link rel="alternate" type="application/rss+xml" href="{{config.url}}/rss.xml" title="{{config.title}} RSS">
<link rel="icon" href="images/icons/favicon.ico">
<!-- general style -->
@@ -21,6 +23,9 @@
<script type="text/javascript" src="scripts/theme.js"></script>
<link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css">
<link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/solarized-dark.min.css">
+
+ <!-- og meta -->
+ {%block head_og%}{%endblock head_og%}
</head>
<body>