Replace sitemap.xml with Jekyll Sitemap gem
This commit is contained in:
parent
1a3231f506
commit
d06dd17110
4 changed files with 4 additions and 21 deletions
1
404.md
1
404.md
|
@ -6,6 +6,7 @@ image:
|
|||
feature: texture-feature-01.jpg
|
||||
credit: Texture Lovers
|
||||
creditlink: http://texturelovers.com
|
||||
sitemap: false
|
||||
---
|
||||
|
||||
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
|
||||
|
|
|
@ -11,6 +11,8 @@ url: http://localhost:4000
|
|||
permalink: /:categories/:title/
|
||||
markdown: kramdown
|
||||
highlighter: pygments
|
||||
gems:
|
||||
- jekyll-sitemap
|
||||
|
||||
kramdown:
|
||||
auto_ids: true
|
||||
|
|
1
feed.xml
1
feed.xml
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
layout: none
|
||||
sitemap: false
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
|
||||
|
|
21
sitemap.xml
21
sitemap.xml
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
layout: nil
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>{{ site.url }}</loc>
|
||||
</url>
|
||||
|
||||
{% for page in site.pages %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ page.url }}</loc>
|
||||
</url>
|
||||
{% endfor %}
|
||||
|
||||
{% for post in site.posts %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ post.url }}</loc>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
Loading…
Reference in a new issue