summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html5
-rw-r--r--templates/blog-page.html9
2 files changed, 10 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index df50601..05dbbf9 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,9 +7,8 @@
<title>{% block title %} {% endblock %}</title>
<link rel='shortcut icon' href='/favicon.ico'/>
<link rel="stylesheet" href="/style.css"/>
- {% block rss %}
- <link rel="alternate" type="application/atom+xml" title="RSS" href="/atom.xml">
- {% endblock %}
+ {% block meta %} {% endblock %}
+ <link rel="alternate" type="application/atom+xml" title="RSS" href="/atom.xml">
</head>
<body>
diff --git a/templates/blog-page.html b/templates/blog-page.html
index 8ca5835..2783f14 100644
--- a/templates/blog-page.html
+++ b/templates/blog-page.html
@@ -1,6 +1,13 @@
{% extends "base.html" %}
-{% block title %}{{ page.title }}{% endblock title %}
+{% block title %} {{ page.title }} {% endblock title %}
+
+{% block meta %}
+<meta content="{{ page.title }}" name="og:title">
+<meta content="https://lemon.rip" name="og:url">
+<meta name="og:description" content="{{ page.content | striptags | truncate(length=180) }}">
+<link href="/oembed-default-data.json" type="application/json+oembed">
+{% endblock meta %}
{% block content %}