mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
updated to latest Octopress source
This commit is contained in:
parent
16d859baae
commit
de2f70b4e6
6
source/_includes/custom/header.html
Normal file
6
source/_includes/custom/header.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<hgroup>
|
||||||
|
<h1><a href="{{ root_url }}/">{{ site.title }}</a></h1>
|
||||||
|
{% if site.subtitle %}
|
||||||
|
<h2>{{ site.subtitle }}</h2>
|
||||||
|
{% endif %}
|
||||||
|
</hgroup>
|
@ -1,6 +1 @@
|
|||||||
<hgroup>
|
{% include custom/header.html %}
|
||||||
<h1><a href="{{ root_url }}/">{{ site.title }}</a></h1>
|
|
||||||
{% if site.subtitle %}
|
|
||||||
<h2>{{ site.subtitle }}</h2>
|
|
||||||
{% endif %}
|
|
||||||
</hgroup>
|
|
||||||
|
@ -4,7 +4,7 @@ layout: nil
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
|
|
||||||
<title>{{ site.blog_title }}</title>
|
<title>{{ site.title }}</title>
|
||||||
<link href="{{ site.url }}/atom.xml" rel="self"/>
|
<link href="{{ site.url }}/atom.xml" rel="self"/>
|
||||||
<link href="{{ site.url }}/"/>
|
<link href="{{ site.url }}/"/>
|
||||||
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
||||||
@ -16,13 +16,13 @@ layout: nil
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</author>
|
</author>
|
||||||
|
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts limit: 20 %}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ post.title }}</title>
|
<title>{{ post.title }}</title>
|
||||||
<link href="{{ site.url }}{{ post.url }}"/>
|
<link href="{{ site.url }}{{ post.url }}"/>
|
||||||
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
||||||
<id>{{ site.url }}{{ post.id }}</id>
|
<id>{{ site.url }}{{ post.id }}</id>
|
||||||
<content type="html">{{ post.content | full_urls: site.url | xml_escape }}</content>
|
<content type="html">{{ post.content | expand_urls: site.url | xml_escape }}</content>
|
||||||
</entry>
|
</entry>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</feed>
|
</feed>
|
||||||
|
Loading…
Reference in New Issue
Block a user