Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 8220843

Browse files
author
blogpush
committed
Fix the image path when the url is like: https://blogpush.github.io/geeksoflondon
1 parent b8b04e0 commit 8220843

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

sass/base/_theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$noise-bg: image-url('/images/noise.png') top left !default;
1+
$noise-bg: image-url('../images/noise.png') top left !default;
22
$img-border: inline-image('dotted-border.png');
33

44
// Main Link Colors
@@ -12,7 +12,7 @@ $main-bg: #fff !default;
1212
$page-bg: #fff !default;
1313
$article-border: #eeeeee !default;
1414

15-
$header-bg: url(/images/background.jpg) !default;
15+
$header-bg: url(../images/background.jpg) !default;
1616
$header-border: lighten(#418284, 15) !default;
1717
$title-color: #f2f2f2 !default;
1818
$subtitle-color: #ccc !default;
@@ -63,7 +63,7 @@ a {
6363
}
6464

6565
html {
66-
background: $page-bg image-url('/images/line-tile.png') top left;
66+
background: $page-bg image-url('../images/line-tile.png') top left;
6767
}
6868
body {
6969
> div {

sass/partials/events.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
margin: 0px;
66

77
li {
8-
background-image: url(/images/calendar.png);
8+
background-image: url(../images/calendar.png);
99
background-repeat: no-repeat;
1010
background-position: 10px 15px;
1111
font-size: 1em;
@@ -28,4 +28,4 @@ aside {
2828
border-top: 0px;
2929
}
3030
}
31-
}
31+
}

source/_includes/custom/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<hgroup>
2-
<h1><a href="{{ root_url }}/"><img src='/images/logo.png'></a></h1>
2+
<h1><a href="{{ root_url }}/"><img src='images/logo.png'></a></h1>
33
{% if site.subtitle %}
44
<h2>{{ site.subtitle }}</h2>
55
{% endif %}

source/_includes/custom/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<li><a href="{{ root_url }}/">Home</a></li>
33
<li><a href="{{ root_url }}/blog">News</a></li>
44
<!-- <li><a href="{{ root_url }}/contact">Contact</a></li> -->
5-
<li><a href="{{ root_url }}/atom.xml"><img src='/images/rss.png' /> RSS</a></li>
5+
<li><a href="{{ root_url }}/atom.xml"><img src='images/rss.png' /> RSS</a></li>
66
</ul>

source/_layouts/frontpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div id="main">
77
<div id="content">
88
<div>
9-
<img src="/images/logo.png" />
9+
<img src="images/logo.png" />
1010
<article role="article">
1111
{{ content | expand_urls: root_url }}
1212
</article>

0 commit comments

Comments
 (0)