rename index, set urls back to slightly less broken
This commit is contained in:
@@ -4,18 +4,18 @@
|
|||||||
<channel>
|
<channel>
|
||||||
<title>{{ site_title | e }}</title>
|
<title>{{ site_title | e }}</title>
|
||||||
<description>{{ pages.index.meta.description | e }}</description>
|
<description>{{ pages.index.meta.description | e }}</description>
|
||||||
<link>{{ base_url | link }}/</link>
|
<link>{{ base_url }}/</link>
|
||||||
<atom:link href="{{ base_url ~ "/feed" }}" rel="self" type="application/rss+xml"/>
|
<atom:link href="{{ base_url ~ "/feed" }}" rel="self" type="application/rss+xml"/>
|
||||||
<pubDate>{{ "now" | date(RFC822) }}</pubDate>
|
<pubDate>{{ "now" | date(RFC822) }}</pubDate>
|
||||||
<lastBuildDate>{{ "now" | date(RFC822) }}</lastBuildDate>
|
<lastBuildDate>{{ "now" | date(RFC822) }}</lastBuildDate>
|
||||||
<generator>Pico</generator>
|
<generator>Pico</generator>
|
||||||
{% for page in pages if page.id not in ['index','feed'] and not end %}
|
{% for page in pages() if page.id not in ['index','feed'] and not end %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ page.title | e }}</title>
|
<title>{{ page.title | e }}</title>
|
||||||
<description>{{ page.id | content | e }}</description>
|
<description>{{ page.id | content | e }}</description>
|
||||||
<pubDate>{{ page.date | date(RFC822) }}</pubDate>
|
<pubDate>{{ page.date | date(RFC822) }}</pubDate>
|
||||||
<link>{{ page.url | link }}</link>
|
<link>{{ page.url }}</link>
|
||||||
<guid isPermaLink="true">{{ page.url | link }}</guid>
|
<guid isPermaLink="true">{{ page.url }}</guid>
|
||||||
{% for cat in page.meta.categories %}
|
{% for cat in page.meta.categories %}
|
||||||
<category>{{ cat | e }}</category>
|
<category>{{ cat | e }}</category>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user