Move repeated details to variables _config.yml and general cleanup

This commit is contained in:
2015-12-19 22:14:21 +00:00
parent cfeacd564d
commit ccc35d3be0
12 changed files with 60 additions and 69 deletions

View File

@@ -1,22 +1,23 @@
---
layout: null
---
{% include base.html %}
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>http://dpb587.me/</id>
<title>Danny Berger</title>
<link href="http://dpb587.me/blog/atom.xml" rel="self"/>
<link href="http://dpb587.me/"/>
<id>{{ site.baseurl }}/</id>
<title>{{ site.author }}</title>
<link href="{{ site.absolute }}/blog/atom.xml" rel="self"/>
<link href="{{ site.absolute }}/"/>
<updated>{{ site.time|date_to_xmlschema }}</updated>
<author>
<name>Danny Berger</name>
<email>dpb587@gmail.com</email>
<name>{{ site.author }}</name>
<email>{{ site.email }}</email>
</author>
{% for post in site.posts %}
<entry>
<id>http://dpb587.me{{ post.id }}</id>
<id>{{ site.absolute }}/{{ post.id }}</id>
<title>{{ post.title }}</title>
<link href="http://dpb587.me{{ post.url }}"/>
<link href="{{ site.absolute }}{{ post.url }}"/>
<updated>{{ post.date|date_to_xmlschema }}</updated>
<content type="html">{{ post.content|xml_escape }}</content>
</entry>

View File

@@ -2,7 +2,6 @@
title: Blog Summary
layout: default
---
{% for post in site.posts %}
<section>
<header>