Skip to content

Commit

Permalink
Fix redirects on the website.
Browse files Browse the repository at this point in the history
The website redirects bare paths to http, but paths ending with / to the
same protocol, so build example and tutorial lists with / after the
example or tutorial name.
  • Loading branch information
manthey committed Nov 20, 2018
1 parent 39ac785 commit 702492b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/themes/agency/layout/examples.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="col-md-6 example-container">
<div class="row">
<div class="col-xs-5 thumbnail-container">
<a href="<%- example.name %>">
<a href="<%- example.name %>/">
<div class="thumbnail-hover">
</div>
<img src="<%
Expand Down
2 changes: 1 addition & 1 deletion website/themes/agency/layout/tutorials.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="row">
<% for(let tutorial of site.data.tutorials) { %>
<div class="col-md-3 col-sm-4 portfolio-item">
<a class="portfolio-link" href="<%- tutorial.name %>">
<a class="portfolio-link" href="<%- tutorial.name %>/">
<div class="portfolio-hover">
</div>
<img class="img-responsive" src="<%
Expand Down

0 comments on commit 702492b

Please sign in to comment.