Skip to content

Commit

Permalink
Merge pull request barryclark#15 from newvertex/master
Browse files Browse the repository at this point in the history
Add baseurl to post navigation & avatar image url
  • Loading branch information
rohanchandra committed Jun 15, 2015
2 parents fa90bf8 + 74b51f5 commit 9e96db3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</a>
{% elsif site.theme.avatar %}
<a href="{{ site.baseurl }}/">
<img class="avatar" src="/img/{{ site.theme.avatar }}" alt=""/>
<img class="avatar" src="{{ site.baseurl }}/img/{{ site.theme.avatar }}" alt=""/>
</a>
{% endif %}
<h1 class="site-title">
Expand Down
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ <h1 class="title">{{ page.title }}</h1>
{% if site.theme.post_navigation %}
<div id="post-nav">
{% if page.previous.url %}
<a id="prev-post" href="{{ page.previous.url }}">
<a id="prev-post" href="{{ site.baseurl }}{{ page.previous.url }}">
<span class="page-title">{{ page.previous.title }}</span>
<i class="fa fa-chevron-left"></i> {{ site.theme.str_prev }}
</a>
{% endif %}
{% if page.next.url %}
<a id="next-post" href="{{ page.next.url }}">
<a id="next-post" href="{{ site.baseurl }}{{ page.next.url }}">
<span class="page-title">{{ page.next.title }}</span>
{{ site.theme.str_next }} <i class="fa fa-chevron-right"></i>
</a>
Expand Down

0 comments on commit 9e96db3

Please sign in to comment.