Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
Fixing issue with Mixed content
Browse files Browse the repository at this point in the history
  • Loading branch information
obetomuniz committed Nov 24, 2016
1 parent 0bdc11f commit 2461199
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<section class="article">

<div class="overlay"></div>
<div class="featured-image" style="background-image: url({{ site.github.url }}/images/{{ page.image.feature }})"></div>
<div class="featured-image" style="background-image: url(/images/{{ page.image.feature }})"></div>
{% else %}

{% include head-dark.html %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/post-light-feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<section class="article">

<div class="overlay overlay-lighter"></div>
<div class="featured-image" style="background-image: url({{ site.github.url }}/images/{{ page.image.feature }})"></div>
<div class="featured-image" style="background-image: url(/images/{{ page.image.feature }})"></div>
{% else %}

{% include head-dark.html %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/post-no-feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<section class="article">

<div class="overlay"></div>
<div class="featured-image" style="background-image: url({{ site.github.url }}/images/{{ page.image.feature }})"></div>
<div class="featured-image" style="background-image: url(/images/{{ page.image.feature }})"></div>
{% else %}

{% include head-dark.html %}
Expand Down
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<section class="article">

{% if page.image.feature %}
<div class="featured-image" style="background-image: url({{ site.github.url }}/images/{{ page.image.feature }})">
<div class="featured-image" style="background-image: url(/images/{{ page.image.feature }})">
{% else %}
<div class="featured-image" style="background-image: url({{ site.github.url }}/images/beers.png)">
<div class="featured-image" style="background-image: url(/images/beers.png)">
{% endif %}
<div class="header-content">
<h1>
Expand Down

0 comments on commit 2461199

Please sign in to comment.