CodeForTucson / codefortucson-site

Current Code for Tucson website
http://www.codefortucson.org
GNU General Public License v2.0
3 stars 8 forks source link

Fix relative/absolute URLs #25

Closed meiqimichelle closed 9 years ago

meiqimichelle commented 9 years ago
dmsnell commented 9 years ago

38 should take care of this.

Jekyll won't let us include template variables in the SASS directory, but by moving the definitions of $site-baseurl into style.css before @import "custom", we are able to set it equal to the Jekyll variable:

$site-baseurl: {{ site.baseurl }};

@import "custom"

Now that variable is dependent on the config variable set at build-time and will be correct for local and production environments.

dmsnell commented 9 years ago

Fixed in #38