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

View File

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

View File

@ -48,7 +48,7 @@ title: Tyler Hallada
</div> </div>
<div class="row clearfix"> <div class="row clearfix">
<div class="column fourth mobile-half"> <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/> <img src="img/book.png" alt="book"/><br/>
<span>Blog</span> <span>Blog</span>
</a> </a>