Ensure all directory urls end in a trailing slash
This commit is contained in:
parent
d88d2fc61a
commit
6e29547843
@ -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 }}
|
||||
|
@ -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">« Previous</a>
|
||||
<a href="/blog/" class="previous">« Previous</a>
|
||||
{% else %}
|
||||
<a href="/blog/page{{ paginator.previous_page }}" class="previous">« Previous</a>
|
||||
<a href="/blog/page{{ paginator.previous_page }}/" class="previous">« 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 »</a>
|
||||
<a href="/blog/page{{ paginator.next_page }}/" class="next">Next »</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user