summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2019-03-22 21:09:42 +0000
committerTomasz Kramkowski <tk@the-tk.com>2019-03-22 21:09:42 +0000
commit76af250946a34d85756b57ee476dad06da96cb33 (patch)
tree2f23921bddc91e21e3c2864b4903819d4f27f766
parent2028f4e2e999c2fa3155ddabc1942bb7ff20f02f (diff)
downloadthe-tk.com-76af250946a34d85756b57ee476dad06da96cb33.tar.gz
the-tk.com-76af250946a34d85756b57ee476dad06da96cb33.tar.xz
the-tk.com-76af250946a34d85756b57ee476dad06da96cb33.zip
Fix block head and add link alternate for atom feed
-rw-r--r--templates/blog.html3
-rw-r--r--templates/default.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/blog.html b/templates/blog.html
index 658f69d..87a9cd9 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -1,4 +1,7 @@
{% extends "default.html" %}
+{% block head %}
+<link rel="alternate" type="application/atom+xml" href="{{ site.baseurl }}/blog.atom.xml" />
+{% endblock %}
{% block content %}
<h1>Posts</h1>
<ul class="postlist">{% for post in page.posts %}
diff --git a/templates/default.html b/templates/default.html
index 337cb20..07ff3ed 100644
--- a/templates/default.html
+++ b/templates/default.html
@@ -1,7 +1,6 @@
<!DOCTYPE html>
<html>
<head>
- {% block head %}
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/style.css" />
<link rel="icon" type="image/png" sizes="32x32" href="/images/icon32x32.png" />
@@ -11,7 +10,7 @@
<meta name="description" content="{{ page.description }}" />
<meta name="author" content="Tomasz Kramkowski <tk@the-tk.com>" />
<meta name="keywords" content="{{ page.keywords }}" />
- {% endblock %}
+ {% block head %}{% endblock %}
</head>
<body>
<main>