From d5e5e8fbb1cace9a763d4bdec7e3a75a3457cd0e Mon Sep 17 00:00:00 2001 From: Paul Ryan Date: Thu, 29 Nov 2018 16:55:42 +0000 Subject: [PATCH 1/3] redirection --- _config.yml | 22 ++++------------------ gcp/index.html | 13 +++++-------- 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/_config.yml b/_config.yml index 75314e5..af97501 100644 --- a/_config.yml +++ b/_config.yml @@ -1,18 +1,3 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing these this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. title: Sharpred email: paul@sharpred.com description: > # this means to ignore newlines until "baseurl:" @@ -26,6 +11,7 @@ github_username: sharpred markdown: kramdown theme: minima # from https://jekyllrb.com/docs/continuous-integration/ -exclude: [vendor, gcp, google575963d4adf7f984.html] -# from http://jmcglone.com/guides/github-pages/ -#permalink: /blog/:year/:month/:day/:title +exclude: [google575963d4adf7f984.html] + +plugins: + - jekyll-redirect-from diff --git a/gcp/index.html b/gcp/index.html index 129840d..c96aff8 100755 --- a/gcp/index.html +++ b/gcp/index.html @@ -1,9 +1,7 @@ - - - - - - +--- +redirect_from: "/gcp/" +--- + @@ -49,5 +47,4 @@ - - + \ No newline at end of file From a2453ee058a404bdace911559373933112ef6af1 Mon Sep 17 00:00:00 2001 From: Paul Ryan Date: Thu, 29 Nov 2018 17:02:17 +0000 Subject: [PATCH 2/3] added dep --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index c55f4f5..93796a4 100644 --- a/Gemfile +++ b/Gemfile @@ -10,6 +10,7 @@ ruby RUBY_VERSION # This will help ensure the proper Jekyll version is running. # Happy Jekylling! gem "jekyll" +gem "jekyll-redirect-from" # This is the default theme for new Jekyll sites. You may change this to anything you like. gem "minima" From 25049a9b60144a04f9955f86dca453df4b4f37a6 Mon Sep 17 00:00:00 2001 From: Paul Ryan Date: Thu, 29 Nov 2018 17:05:00 +0000 Subject: [PATCH 3/3] updated gems --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 93796a4..2812bf9 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ ruby RUBY_VERSION # Happy Jekylling! gem "jekyll" gem "jekyll-redirect-from" - +gem "github-pages" # This is the default theme for new Jekyll sites. You may change this to anything you like. gem "minima" gem "html-proofer"