Skip to content
Permalink
Browse files

Enable jekyll-feed and jekyll-sitemap for SEO

  • Loading branch information...
chiwanpark committed Feb 6, 2019
1 parent ec03b13 commit 236c2893fb44df5fc3c94c78706538550a3fc6f5
Showing with 15 additions and 4 deletions.
  1. +1 −0 Gemfile
  2. +3 −0 Gemfile.lock
  3. +1 −0 _articles/index.adoc
  4. +10 −4 _config.yml
@@ -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
@@ -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)
@@ -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
@@ -1,2 +1,3 @@
= Articles
:page-layout: article-list
:page-draft: true
@@ -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
@@ -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

0 comments on commit 236c289

Please sign in to comment.
You can’t perform that action at this time.