Skip to content

Commit

Permalink
Add relative_url filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihails Delmans committed Apr 4, 2018
1 parent 8e4eafb commit 11c5cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<div class="wrapper">
<header>
<a href="{{ site.github.url }}"> <h1>{{ site.title | default: site.github.repository_name }}</h1> </a>

{% if site.logo %}
<img src="{{site.logo}}" alt="Logo"></img>
<img src="{{site.logo | relative_url}}" alt="Logo"></img>
{% endif %}

<p>{{ site.description | default: site.github.project_tagline }}</p>
Expand Down

0 comments on commit 11c5cba

Please sign in to comment.