From 63429f1e9a9079f2a714ee479634459b247a10b4 Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Thu, 3 Oct 2013 14:58:18 -0700 Subject: [PATCH] Added relative links that are needed for hosting a page in a non-root directory. --- config.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.rb b/config.rb index 8adffc1..96b6f87 100644 --- a/config.rb +++ b/config.rb @@ -55,6 +55,10 @@ set :markdown, :fenced_code_blocks => true, :smartypants => true, :disable_inden # Activate the syntax highlighter activate :syntax +# This is needed for Github pages, since they're hosted on a subdomain +activate :relative_assets +set :relative_links, true + # Build-specific configuration configure :build do # For example, change the Compass output style for deployment