Updated
This commit is contained in:
parent
a5f5cf6080
commit
ebc1579078
11
_config.yml
11
_config.yml
@ -3,10 +3,12 @@ markdown: kramdown
|
||||
url: ""
|
||||
baseurl: "/jekyll-theme-dark-reader"
|
||||
|
||||
plugins:
|
||||
plugins:
|
||||
- jekyll-paginate
|
||||
- jemoji
|
||||
|
||||
- jekyll-seo-tag
|
||||
- jekyll-sitemap
|
||||
|
||||
paginate_path: "/page:num/"
|
||||
|
||||
paginate: 5
|
||||
@ -15,10 +17,11 @@ collections_dir: all_collections
|
||||
collections:
|
||||
posts:
|
||||
output: true
|
||||
projects:
|
||||
output: true
|
||||
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
- scope:
|
||||
path: ""
|
||||
values:
|
||||
layout: "post"
|
||||
|
@ -2,4 +2,6 @@ list:
|
||||
- title: Home
|
||||
url: ""
|
||||
- title: About
|
||||
url: about
|
||||
url: about
|
||||
- title: Feed
|
||||
url: atom.xml
|
28
atom.xml
Normal file
28
atom.xml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
layout: null
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
|
||||
<title>{{ site.title }}</title>
|
||||
<link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/>
|
||||
<link href="{{ site.url }}{{ site.baseurl }}/"/>
|
||||
<updated>{{ site.time | date_to_xmlschema }}</updated>
|
||||
<id>{{ site.url }}</id>
|
||||
<author>
|
||||
<name>{{ site.author.name }}</name>
|
||||
<email>{{ site.author.email }}</email>
|
||||
</author>
|
||||
|
||||
{% for post in site.posts %}
|
||||
<entry>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}"/>
|
||||
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
||||
<id>{{ site.url }}{{ post.id }}</id>
|
||||
<content type="html">{{ post.content | xml_escape }}</content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
|
||||
</feed>
|
Loading…
Reference in New Issue
Block a user