Skip to content

Commit 06a03d3

Browse files
committedSep 2, 2017
Include baseurl
1 parent 9fefeb3 commit 06a03d3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎_layouts/default.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ <h1>{{ site.title | default: site.github.repository_name }}</h1>
5656

5757
<h1>{{ page.title }}</h1>
5858
{% if prev_part %}
59-
<p><a class="prev" href="{{ prev_part.url }}">{{prev_part.title}}</a> <br></p>
59+
<p><a class="prev" href="{{site.baseurl}}{{ prev_part.url }}">{{prev_part.title}}</a> <br></p>
6060
{% endif %}
6161
{% if next_part %}
62-
<p><a class="next" href="{{ next_part.url }}">{{next_part.title}}</a> <br></p>
62+
<p><a class="next" href="{{site.baseurl}}{{ next_part.url }}">{{next_part.title}}</a> <br></p>
6363
{% endif %}
6464

6565
{{ content }}
6666

6767
{% if prev_part %}
68-
<p><a class="prev" href="{{ prev_part.url }}">{{prev_part.title}}</a> <br></p>
68+
<p><a class="prev" href="{{site.baseurl}}{{ prev_part.url }}">{{prev_part.title}}</a> <br></p>
6969
{% endif %}
7070
{% if next_part %}
71-
<p><a class="next" href="{{ next_part.url }}">{{next_part.title}}</a> <br></p>
71+
<p><a class="next" href="{{site.baseurl}}{{ next_part.url }}">{{next_part.title}}</a> <br></p>
7272
{% endif %}
7373

7474
</section>

‎index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In short, how does a database **work**?
1515
I'm building a clone of [sqlite](https://www.sqlite.org/arch.html) from scratch in C in order to understand, and I'm going to document my process as I go.
1616

1717
# Table of Contents
18-
{% for part in site.parts %}- [{{part.title}}]({{part.url}})
18+
{% for part in site.parts %}- [{{part.title}}]({{site.baseurl}}{{part.url}})
1919
{% endfor %}
2020

2121
{% include image.html url="assets/images/arch2.gif" description="sqlite architecture (https://www.sqlite.org/arch.html)" %}

0 commit comments

Comments
 (0)
Please sign in to comment.