Skip to content

Commit

Permalink
added fixes for baseurl problems
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Liu committed Feb 25, 2019
1 parent f39ce87 commit bff7bfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/important-format.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{% assign event = include.event %}
Upcoming: <a href="{{ event.url }}">{{ event.title }}</a> on {{ event.date | date: "%B %e, %Y" }} in {{ event.location }} at {{ event.time }}
Upcoming: <a href="{{ event.url | relative_url }}">{{ event.title }}</a> on {{ event.date | date: "%B %e, %Y" }} in {{ event.location }} at {{ event.time }}
2 changes: 1 addition & 1 deletion _sass/base/_base-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
---

$baseurl: "{{ site.baseurl }}";
@import "base";

html {
Expand Down

0 comments on commit bff7bfe

Please sign in to comment.