This commit is contained in:
sharadcodes 2019-11-25 17:48:26 +05:30
parent a5f5cf6080
commit ebc1579078
3 changed files with 38 additions and 5 deletions

View File

@ -3,10 +3,12 @@ markdown: kramdown
url: "" url: ""
baseurl: "/jekyll-theme-dark-reader" baseurl: "/jekyll-theme-dark-reader"
plugins: plugins:
- jekyll-paginate - jekyll-paginate
- jemoji - jemoji
- jekyll-seo-tag
- jekyll-sitemap
paginate_path: "/page:num/" paginate_path: "/page:num/"
paginate: 5 paginate: 5
@ -15,10 +17,11 @@ collections_dir: all_collections
collections: collections:
posts: posts:
output: true output: true
projects:
output: true
defaults: defaults:
- - scope:
scope:
path: "" path: ""
values: values:
layout: "post" layout: "post"

View File

@ -2,4 +2,6 @@ list:
- title: Home - title: Home
url: "" url: ""
- title: About - title: About
url: about url: about
- title: Feed
url: atom.xml

28
atom.xml Normal file
View 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>