-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsitemap-ko.xml
More file actions
54 lines (51 loc) · 1.66 KB
/
sitemap-ko.xml
File metadata and controls
54 lines (51 loc) · 1.66 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
43
44
45
46
47
48
49
50
51
52
53
54
---
layout: null
sitemap: false
lang: ko
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<!-- Korean Homepage -->
<url>
<loc>{{ site.url }}/ko/</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
<xhtml:link rel="alternate" hreflang="en" href="{{ site.url }}/en/" />
<xhtml:link rel="alternate" hreflang="ar" href="{{ site.url }}/ar/" />
<xhtml:link rel="alternate" hreflang="ko" href="{{ site.url }}/ko/" />
</url>
<!-- Korean Posts -->
{% for post in site.posts %}
{% if post.lang == "ko" %}
<url>
<loc>{{ site.url }}{{ post.url }}</loc>
<lastmod>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
{% endif %}
{% endfor %}
<!-- Korean Pages -->
{% for page in site.pages %}
{% if page.lang == "ko" %}
{% unless page.sitemap == false %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
<lastmod>{{ page.last_modified_at | default: site.time | date_to_xmlschema }}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
{% endunless %}
{% endif %}
{% endfor %}
<!-- Korean Categories -->
{% for category in site.categories %}
<url>
<loc>{{ site.url }}/ko/categories/#{{ category[0] | slugify }}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
</urlset>