Skip to content

Commit d340e93

Browse files
committed
add: _config.yml
1 parent e12a065 commit d340e93

2 files changed

Lines changed: 24 additions & 11 deletions

File tree

_config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
title: "Dockerel TIL"
2+
description: "Dockerel TIL"
3+
author: "Dockerel"
4+
5+
url: "https://dockerel.github.io"
6+
baseurl: "/TIL"
7+
8+
markdown: kramdown
9+
permalink: /:year/:month/:day/:title/
10+
11+
plugins:
12+
- jekyll-feed
13+
- jekyll-sitemap

sitemap.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
---
2-
layout: null
3-
---
4-
<?xml version="1.0" encoding="UTF-8"?>
5-
<urlset
6-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7-
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
8-
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
9-
{% for post in site.posts %}
1+
---
2+
layout: null
3+
---
4+
<?xml version="1.0" encoding="UTF-8"?>
5+
<urlset
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
8+
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
9+
{% for post in site.posts %}
1010
<url>
11-
<loc>{{ site.url }}{{ post.url }}</loc>
11+
<loc>{{ site.url }}{{ site.baseurl }}{{ post.url }}</loc>
1212
{% if post.lastmod == null %}
1313
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
1414
{% else %}
@@ -29,4 +29,4 @@
2929

3030
</url>
3131
{% endfor %}
32-
</urlset>
32+
</urlset>

0 commit comments

Comments
 (0)