Ensure all directory urls end in a trailing slash

This commit is contained in:
Tyler Hallada 2017-11-29 19:45:34 -05:00
parent d88d2fc61a
commit 6e29547843
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@ -47,7 +47,7 @@
<body>
<div class="container">
<div class="row clearfix header">
<h1 class="title"><a href="/blog">{{ site.name }}</a></h1>
<h1 class="title"><a href="/blog/">{{ site.name }}</a></h1>
<a class="extra" href="/">home</a>
</div>
{{ content }}

View File

@ -32,14 +32,14 @@ title: Tyler Hallada - Blog
<div class="column full">
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a href="/blog" class="previous">&laquo; Previous</a>
<a href="/blog/" class="previous">&laquo; Previous</a>
{% else %}
<a href="/blog/page{{ paginator.previous_page }}" class="previous">&laquo; Previous</a>
<a href="/blog/page{{ paginator.previous_page }}/" class="previous">&laquo; Previous</a>
{% endif %}
{% endif %}
<span class="page_number ">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="/blog/page{{ paginator.next_page }}" class="next">Next &raquo;</a>
<a href="/blog/page{{ paginator.next_page }}/" class="next">Next &raquo;</a>
{% endif %}
</div>
</div>

View File

@ -48,7 +48,7 @@ title: Tyler Hallada
</div>
<div class="row clearfix">
<div class="column fourth mobile-half">
<a href="/blog" class="no-decoration link-card card">
<a href="/blog/" class="no-decoration link-card card">
<img src="img/book.png" alt="book"/><br/>
<span>Blog</span>
</a>