Skip to content

Commit

Permalink
Enable jekyll-feed and jekyll-sitemap for SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
chiwanpark committed Feb 6, 2019
1 parent ec03b13 commit 236c289
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -19,6 +19,7 @@ gem "ffi", "~> 1.9.24"
group :jekyll_plugins do
gem "jekyll-font-awesome-sass"
gem "jekyll-feed", "~> 0.6"
gem "jekyll-sitemap", "~> 1.2.0"
gem "jekyll-git_metadata"
gem "jekyll-asciidoc", "~> 2.1"
end
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Expand Up @@ -42,6 +42,8 @@ GEM
jekyll (~> 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-sitemap (1.2.0)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
listen (~> 3.0)
kramdown (1.17.0)
Expand Down Expand Up @@ -80,6 +82,7 @@ DEPENDENCIES
jekyll-feed (~> 0.6)
jekyll-font-awesome-sass
jekyll-git_metadata
jekyll-sitemap (~> 1.2.0)
tzinfo-data

BUNDLED WITH
Expand Down
1 change: 1 addition & 0 deletions _articles/index.adoc
@@ -1,2 +1,3 @@
= Articles
:page-layout: article-list
:page-draft: true
14 changes: 10 additions & 4 deletions _config.yml
Expand Up @@ -14,16 +14,15 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Chiwan Park
author: Chiwan Park
email: chiwanpark@icloud.com
description: >-
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: ""
url: "https://chiwanpark.com"

# Collections
collections:
posts:
output: false
articles:
output: true
permalink: /:collection/:path.html
Expand All @@ -40,6 +39,13 @@ asciidoc: {}
asciidoctor:
attributes:
source-highlighter: highlightjs
feed:
collections:
articles:
path: "/feed.xml"
posts:
path: "/feed-dummy.xml" # prevent create RSS feed from posts collection
sitemap: true

# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
Expand Down

0 comments on commit 236c289

Please sign in to comment.