Change sitemap to feed

This commit is contained in:
agusmakmun
2016-04-19 14:24:24 +07:00
parent b8a6beea84
commit 1c01cc0d6f
3 changed files with 4 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ urls:
url: /about/ url: /about/
- text: Github - text: Github
url: https://github.com/agusmakmun url: https://github.com/agusmakmun
- text: XML Sitemap - text: XML Feed
url: /sitemap.xml url: /feed.xml
url: "https://agusmakmun.github.io" url: "https://agusmakmun.github.io"
baseurl: "" baseurl: ""
paginate: 20 paginate: 20

View File

@@ -5,6 +5,7 @@ layout: default
<header class="post-header"> <header class="post-header">
<h1 class="post-title">{{ page.title }}</h1> <h1 class="post-title">{{ page.title }}</h1>
<hr />
</header> </header>
<div class="post-content"> <div class="post-content">

View File

@@ -7,7 +7,7 @@ layout: null
<title>{{ site.title | xml_escape }}</title> <title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description> <description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}{{ site.baseurl }}/</link> <link>{{ site.url }}{{ site.baseurl }}/</link>
<atom:link href="{{ "/sitemap.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/> <atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate> <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate> <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator> <generator>Jekyll v{{ jekyll.version }}</generator>