Skip to content

Commit 020efc9

Browse files
committed
fix: changed to _posts
1 parent 5610fca commit 020efc9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
File renamed without changes.

notes/atom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ layout: feed
1414
<email>[email protected]</email>
1515
</author>
1616

17-
{% for note in site.notes %}
17+
{% for post in site.posts %}
1818
<entry>
19-
<title>{{ note.title }}</title>
19+
<title>{{ post.title }}</title>
2020
<link href="https://wangchunyang.github.io{{ post.url }}"/>
21-
<updated>{{ note.date | date_to_xmlschema }}</updated>
22-
<id>https://wangchunyang.github.io{{note.id}}</id>
23-
<content type="html">{{note.content|xml_escape}}</content>
21+
<updated>{{ post.date | date_to_xmlschema }}</updated>
22+
<id>https://wangchunyang.github.io{{post.id}}</id>
23+
<content type="html">{{post.content|xml_escape}}</content>
2424
</entry>
2525
{% endfor %}
2626

notes/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
title: Notes
44
---
55
<h1>{{ page.title }}</h1>
6-
<ul class="notes">
6+
<ul class="posts">
77

8-
{% for note in site.notes %}
9-
<li><span>{{note.date|date_to_string}}</span> » <a href="{{note.url}}" title="{{note.title}}">{{note.title}}</a></li>
8+
{% for post in site.posts %}
9+
<li><span>{{post.date|date_to_string}}</span> » <a href="{{post.url}}" title="{{post.title}}">{{post.title}}</a></li>
1010
{% endfor %}
1111
</ul>

0 commit comments

Comments
 (0)