summaryrefslogtreecommitdiff
path: root/blog/plt/base.html
diff options
context:
space:
mode:
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>