Skip to content

Commit

Permalink
fix GitHub Pages specific ERR_NAME_NOT_RESOLVED
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasravnsborg committed Nov 1, 2016
1 parent 698570d commit b64eb5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/work.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3 id="work">Work</h3>
<div class="thumb-container">
{% for project in site.data.settings.projects %}
<label for="{{ project.folder }}">
<div class="thumb-unit" data-url="{{ site.github.url }}/work/{{ project.folder }}">
<div class="thumb-unit" data-url="{{ site.github.url }}/work/{{ project.folder }}/">
<img src="{{ site.github.url }}/assets/img/work/{{project.folder}}/thumb.jpg" alt="{{ project.name }}" />
</div>
<div class="thumb-overlay">
Expand Down
2 changes: 1 addition & 1 deletion assets/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function workLoad() {
var $this = $(this),
newTitle = $this.find('strong').text(),
spinner = '<div class="loader">Loading...</div>',
url = window.location.origin + $this.find('.thumb-unit').data('url');
url = $this.find('.thumb-unit').data('url');

$('.project-load').html(spinner).load(url);
$('.project-title').text(newTitle);
Expand Down

0 comments on commit b64eb5b

Please sign in to comment.