Skip to content

Commit ad6db33

Browse files
committed
Correção de bug do template Hyde, mais informações em poole/hyde#93
1 parent 9005f4a commit ad6db33

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
<div class="page">
88
<h1 class="page-title">404: Page not found</h1>
9-
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}">Head back home</a> to try finding it again.</p>
9+
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>
1010
</div>

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: John Owl
1010
tagline: 'Blog sobre desenvolvimento de software.'
1111
description: 'Um blog sobre desenvolvimento de software por <a href="https://github.com/johnowl">@johnowl</a>.'
1212
url: http://blog.johnowl.com
13-
baseurl: /
13+
baseurl: ''
1414

1515
author:
1616
name: 'João Paulo Gomes'

_includes/head.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
</title>
1616

1717
<!-- CSS -->
18-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
19-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
20-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
18+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
19+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
20+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/hyde.css">
2121
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
2222

2323
<!-- Icons -->
24-
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}public/apple-touch-icon-144-precomposed.png">
25-
<link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
24+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-144-precomposed.png">
25+
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
2626

2727
<!-- RSS -->
2828
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">

_includes/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="container sidebar-sticky">
33
<div class="sidebar-about">
44
<h1>
5-
<a href="{{ site.baseurl }}">
5+
<a href="{{ site.baseurl }}/">
66
{{ site.title }}
77
</a>
88
</h1>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ <h1 class="post-title">
2121

2222
<div class="pagination">
2323
{% if paginator.next_page %}
24-
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
24+
<a class="pagination-item older" href="{{ site.baseurl }}/page{{paginator.next_page}}">Older</a>
2525
{% else %}
2626
<span class="pagination-item older">Older</span>
2727
{% endif %}
2828
{% if paginator.previous_page %}
2929
{% if paginator.page == 2 %}
30-
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
30+
<a class="pagination-item newer" href="{{ site.baseurl }}/">Newer</a>
3131
{% else %}
32-
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
32+
<a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">Newer</a>
3333
{% endif %}
3434
{% else %}
3535
<span class="pagination-item newer">Newer</span>

0 commit comments

Comments
 (0)