diff options
-rw-r--r-- | templates/blog.html | 3 | ||||
-rw-r--r-- | templates/default.html | 3 |
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> |