-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfeed-ko.xml
More file actions
42 lines (37 loc) · 1.7 KB
/
feed-ko.xml
File metadata and controls
42 lines (37 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
layout: null
lang: ko
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator>
<link href="{{ site.url }}/feed-ko.xml" rel="self" type="application/atom+xml" />
<link href="{{ site.url }}/ko/" rel="alternate" type="text/html" />
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}/ko/</id>
<title type="html">{{ site.title | xml_escape }} - 한국어</title>
<subtitle>{{ site.description | xml_escape }}</subtitle>
{% assign korean_posts = site.posts | where: "lang", "ko" | limit: 20 %}
{% for post in korean_posts %}
<entry>
<title type="html">{{ post.title | xml_escape }}</title>
<link href="{{ site.url }}{{ post.url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
<published>{{ post.date | date_to_xmlschema }}</published>
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>
<content type="html" xml:base="{{ site.url }}{{ post.url }}">{{ post.content | xml_escape }}</content>
{% assign post_author = post.author | default: site.author %}
<author>
<name>{{ post_author.name | default: post_author | xml_escape }}</name>
</author>
{% if post.categories.size > 0 %}
{% for category in post.categories %}
<category term="{{ category | xml_escape }}" />
{% endfor %}
{% endif %}
{% if post.excerpt and post.excerpt != empty %}
<summary type="html">{{ post.excerpt | xml_escape }}</summary>
{% endif %}
</entry>
{% endfor %}
</feed>