From 3d6925b2b29f9ded104b91bf7d67cab6c678a92a Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 25 Jan 2018 14:27:39 -0500 Subject: [PATCH] Always sub URL --- Rakefile | 8 ++------ _config.yml | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Rakefile b/Rakefile index 550d038..2193d7d 100644 --- a/Rakefile +++ b/Rakefile @@ -8,15 +8,11 @@ task :build do puts "Deploying for: #{site_url}" config = Jekyll.configuration(config_params) site = Jekyll::Site.new(config) - Jekyll::Commands::Build.build site, config + Jekyll::Commands::Build.build(site, config) end def config_params - if site_url - { url: site_url } - else - {} - end + { url: site_url } end def site_url diff --git a/_config.yml b/_config.yml index 1627eb5..f56f104 100644 --- a/_config.yml +++ b/_config.yml @@ -10,7 +10,6 @@ collections: title: Uploads output: true -url: https://danbarber.me author: Dan Barber markdown: Kramdown description: Web designer and developer for thoughtbot in London. Drummer and all