From bff7bfe2f7b3730cab93088d0c7b1efa960a61b4 Mon Sep 17 00:00:00 2001 From: Albert Liu Date: Sun, 24 Feb 2019 14:02:26 -0500 Subject: [PATCH] added fixes for baseurl problems --- _includes/important-format.html | 2 +- _sass/base/_base-styles.scss | 2 +- assets/css/main.scss | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/important-format.html b/_includes/important-format.html index a9a05445..d17e63fd 100644 --- a/_includes/important-format.html +++ b/_includes/important-format.html @@ -1,2 +1,2 @@ {% assign event = include.event %} -Upcoming: {{ event.title }} on {{ event.date | date: "%B %e, %Y" }} in {{ event.location }} at {{ event.time }} +Upcoming: {{ event.title }} on {{ event.date | date: "%B %e, %Y" }} in {{ event.location }} at {{ event.time }} diff --git a/_sass/base/_base-styles.scss b/_sass/base/_base-styles.scss index d6f565f8..f5921244 100644 --- a/_sass/base/_base-styles.scss +++ b/_sass/base/_base-styles.scss @@ -22,7 +22,7 @@ body { font-weight: 400; font-family: $font-family; color: $font-color; - @include fixed-background(url('/assets/img/morebugs-purple.png') no-repeat); + @include fixed-background(url($baseurl + '/assets/img/morebugs-purple.png') no-repeat); } .content-wrapper { // Wraps around content diff --git a/assets/css/main.scss b/assets/css/main.scss index 97430ac2..d0ddf9d6 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1,6 +1,7 @@ --- --- +$baseurl: "{{ site.baseurl }}"; @import "base"; html {