Skip to content

Commit

Permalink
Merge pull request barryclark#2 from benbalter/globals
Browse files Browse the repository at this point in the history
Abstract site globals
  • Loading branch information
mdo committed Oct 16, 2013
2 parents 7f2d7ce + 7a33feb commit 977ffb2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
8 changes: 7 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
title: Hyde
tagline: "Hyde, a Jekyll theme"
url: http://andhyde.com
author:
name: ""
email: ""
markdown: rdiscount
permalink: pretty
pygments: true
paginate: 5
paginate: 5
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<title>
{% if page.title %}{{ page.title }} &middot; {% endif %}
Hyde, a Jekyll theme
{{ site.tagline }}
</title>

<!-- CSS -->
Expand Down Expand Up @@ -39,7 +39,7 @@ <h1>Hyde</h1>
</li>
<li>Currently v1.0</li>
</ul>
<p>&copy; 2013. All rights reserved.</p>
<p>&copy; 2013. {{ site.author.name }} All rights reserved.</p>
</div>

</div>
Expand All @@ -50,4 +50,4 @@ <h1>Hyde</h1>
</div>

</body>
</html>
</html>
12 changes: 6 additions & 6 deletions atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ layout: nil
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

<title>Mark Otto</title>
<title>{{ site.title }}</title>
<link href="http://www.markdotto.com/atom.xml" rel="self"/>
<link href="http://www.markdotto.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://www.markdotto.com/</id>
<id>{{ site.url }}</id>
<author>
<name>Mark Otto</name>
<email>[email protected]</email>
<name>{{ site.author.name }}</name>
<email>{{ site.author.email }}</email>
</author>

{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="http://www.markdotto.com{{ post.url }}"/>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://www.markdotto.com{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}

</feed>
</feed>

0 comments on commit 977ffb2

Please sign in to comment.