Skip to content

Commit

Permalink
Generate absolute URLs for all links.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Walker <[email protected]>
  • Loading branch information
Ben Walker committed Mar 17, 2016
1 parent f30d547 commit 6f6c37a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
url: "https://spdk.github.io"
baseurl: ""
baseurl: "http://az-sg-sw01.ch.intel.com/~bwalker"
title: Storage Performance Development Kit
email: [email protected]
author: Benjamin Walker
Expand Down
8 changes: 4 additions & 4 deletions _includes/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">{{ post.title }}</h2>
<div class="lead">{{ post.excerpt }} <a class="post-link" href="{{ post.url }}">Continue...</a></div>
<div class="lead">{{ post.excerpt }} <a class="post-link" href="{{ site.baseurl }}{{ post.url }}">Continue...</a></div>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<img class="img-responsive" src="img/blog/{{ post.img }}" alt="">
<img class="img-responsive" src="{{ site.baseurl }}/img/blog/{{ post.img }}" alt="">
</div>
</div>

Expand All @@ -32,10 +32,10 @@ <h2 class="section-heading">{{ post.title }}</h2>
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">{{ post.title }}</h2>
<div class="lead">{{ post.excerpt }} <a class="post-link" href="{{ post.url }}">Continue...</a></div>
<div class="lead">{{ post.excerpt }} <a class="post-link" href="{{ site.baseurl }}{{ post.url }}">Continue...</a></div>
</div>
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
<img class="img-responsive" src="img/blog/{{ post.img }}" alt="">
<img class="img-responsive" src="{{ site.baseurl }}/img/blog/{{ post.img }}" alt="">
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion _includes/community.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2>Join Our Community:</h2>
{% if box.ico == null %}
<i class="fa fa-{{ box.title }} fa-fw"></i>
{% else %}
<img class="fa fa-fw" src="/{{ box.ico }}"></img>
<img class="fa fa-fw" src="{{ site.baseurl }}/{{ box.ico }}"></img>
{% endif %}
<span class="box-name">{{ box.title }}</span>
</a>
Expand Down
4 changes: 2 additions & 2 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>

<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/spdk.css" rel="stylesheet">
<link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ site.baseurl }}/css/spdk.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,900' rel='stylesheet' type='text/css'>

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h3>{{ page.subTitle }}</h3>
{% for box in site.boxes %}
<li>
<a href="{{ box.url }}" class="btn btn-default btn-lg">
<img class="box-ico" src="/{{ box.ico }}"></img>
<img class="box-ico" src="{{ site.baseurl }}/{{ box.ico }}"></img>
<span class="box-name">{{ box.title }}</span>
</a>
</li>
Expand Down

0 comments on commit 6f6c37a

Please sign in to comment.