Skip to content

Commit

Permalink
Merge pull request data-lessons#16 from gvwilson/fixing-double-slashes
Browse files Browse the repository at this point in the history
Fixing macro-generated URLs to remove double slashes.
  • Loading branch information
Greg Wilson committed Apr 26, 2016
2 parents 2de0f49 + e8e1e63 commit 4b110c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/all_keypoints.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>Key Points</h2>
{% unless episode.break %}
<tr>
<td class="col-md-3">
<a href="{{ site.root }}/{{ episode.url }}">{{ episode.title }}</a>
<a href="{{ site.root }}{{ episode.url }}">{{ episode.title }}</a>
</td>
<td class="col-md-9">
<ul>
Expand Down
4 changes: 2 additions & 2 deletions _includes/episode_title.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
{% endfor %}
<div class="row">
<div class="col-md-1">
<h3>{% if prev_episode %}<a href="{{ site.root }}/{{ prev_episode.url }}"><span class="glyphicon glyphicon-menu-left"></span></a>{% endif %}</h3>
<h3>{% if prev_episode %}<a href="{{ site.root }}{{ prev_episode.url }}"><span class="glyphicon glyphicon-menu-left"></span></a>{% endif %}</h3>
</div>
<div class="col-md-10">
<h3 class="maintitle"><a href="{{ site.root }}/">{{ site.title }}</a></h3>
<h1 class="maintitle">{{ page.title }}</h1>
</div>
<div class="col-md-1">
<h3>{% if next_episode %}<a href="{{ site.root }}/{{ next_episode.url }}"><span class="glyphicon glyphicon-menu-right"></span></a>{% endif %}</h3>
<h3>{% if next_episode %}<a href="{{ site.root }}{{ next_episode.url }}"><span class="glyphicon glyphicon-menu-right"></span></a>{% endif %}</h3>
</div>
</div>
2 changes: 1 addition & 1 deletion _includes/syllabus.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>Schedule</h2>
{% if multiday %}<td class="col-md-1">{% if episode.start %}Day {{ day }}{% endif %}</td>{% endif %}
<td class="col-md-1">{% if hours < 10 %}0{% endif %}{{ hours }}:{% if minutes < 10 %}0{% endif %}{{ minutes }}</td>
<td class="col-md-3">
<a href="{{ site.root }}/{{ episode.url }}">{{ episode.title }}</a>
<a href="{{ site.root }}{{ episode.url }}">{{ episode.title }}</a>
</td>
<td class="col-md-7">
{% if episode.break %}
Expand Down

0 comments on commit 4b110c8

Please sign in to comment.