Skip to content

Commit 324ab6e

Browse files
committed
[refactor] format
1 parent a1c4391 commit 324ab6e

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

feed

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ layout: none
1010
<link>{{ site.baseurl}}{{ site.url }}</link>
1111
<atom:link href="{{ site.baseurl}}{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
1212
{% for post in site.posts limit:10 %}
13-
<item>
14-
<title>{{ post.title }}</title>
15-
<description>{{ post.content | xml_escape }}</description>
16-
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
17-
<link>{{ site.url }}{{ site.baseurl}}{{ post.url }}</link>
18-
<guid isPermaLink="true">{{ site.url }}{{ site.baseurl}}{{ post.url }}</guid>
19-
</item>
13+
<item>
14+
<title>{{ post.title }}</title>
15+
<description>{{ post.content | xml_escape }}</description>
16+
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
17+
<link>{{ site.url }}{{ site.baseurl}}{{ post.url }}</link>
18+
<guid isPermaLink="true">{{ site.url }}{{ site.baseurl}}{{ post.url }}</guid>
19+
</item>
2020
{% endfor %}
2121
</channel>
2222
</rss>

sitemap.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ layout: none
44

55
<?xml version='1.0' encoding='UTF-8'?>
66
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
7-
{% for post in site.posts %}
8-
<url>
9-
<loc>{{ site.url }}{{ site.baseurl}}{{ post.url }}</loc>
10-
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
11-
</url>
12-
{% endfor %}
7+
{% for post in site.posts %}
8+
<url>
9+
<loc>{{ site.url }}{{ site.baseurl}}{{ post.url }}</loc>
10+
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
11+
</url>
12+
{% endfor %}
1313
</urlset>

0 commit comments

Comments
 (0)