Commit e84f9172 authored by Adam Hawkins's avatar Adam Hawkins

Add sitemap

parent f2335fbb
Pipeline #4826450 passed with stages
in 4 minutes and 50 seconds
source 'https://rubygems.org'
gem 'jekyll', '~> 3.3.0'
gem 'jekyll-sitemap', '~> 0.12.0'
gem 'html-proofer', '~> 3.3.1'
......@@ -37,6 +37,8 @@ GEM
safe_yaml (~> 1.0)
jekyll-sass-converter (1.4.0)
sass (~> 3.4)
jekyll-sitemap (0.12.0)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
kramdown (1.12.0)
......@@ -71,6 +73,7 @@ PLATFORMS
DEPENDENCIES
html-proofer (~> 3.3.1)
jekyll (~> 3.3.0)
jekyll-sitemap (~> 0.12.0)
BUNDLED WITH
1.13.2
......@@ -5,6 +5,9 @@
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
gems:
- jekyll-sitemap
# Site settings
title: /Deploy
email: hi@slashdeploy.com
......
......@@ -13,6 +13,10 @@ function setup() {
[ -f "${DIST_PATH}/error.html" ]
}
@test "sitemap.xml exists" {
[ -f "${DIST_PATH}/sitemap.xml" ]
}
@test "error.html is not searchable" {
grep -qF "Disallow: /error.html" "${DIST_PATH}/robots.txt"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment