File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77 < nav class ="pager ">
88 {% if prev_i > = 0 %}
99 {% assign prev_page = chapters[prev_i] %}
10- < a class ="prev " href ="{{ prev_page.url }} "> ← {{ prev_page.title }}</ a >
10+ < a class ="prev " href ="{{ prev_page.url | relative_url }} "> ← {{ prev_page.title }}</ a >
1111 {% endif %}
1212 {% if next_i < chapters .size %}
1313 {% assign next_page = chapters[next_i] %}
14- < a class ="next " href ="{{ next_page.url }} "> {{ next_page.title }} →</ a >
14+ < a class ="next " href ="{{ next_page.url | relative_url }} "> {{ next_page.title }} →</ a >
1515 {% endif %}
1616 </ nav >
1717 {% endif %}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ <h2>Table of Contents</h2>
44 {% assign chapters = site.chapters | sort: 'order' %}
55 {% for ch in chapters %}
66 < li class ="{% if ch.url == page.url %}active{% endif %} ">
7- < a href ="{{ ch.url }} "> {{ ch.order }}. {{ ch.title }}</ a >
7+ < a href ="{{ ch.url | relative_url }} "> {{ ch.order }}. {{ ch.title }}</ a >
88 </ li >
99 {% endfor %}
1010 </ ul >
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Or jump to a chapter:
2323
2424{% assign chapters = site.chapters | sort: 'order' | limit: 5 %}
2525{% for ch in chapters %}
26- - [ {{ ch.order }}. {{ ch.title }}] ({{ ch.url }})
26+ - [ {{ ch.order }}. {{ ch.title }}] ({{ ch.url | relative_url }})
2727{% endfor %}
2828
2929[ View all chapters →] ({{ "/book" | relative_url }})
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Welcome to the complete guide to graph databases. This book covers everything fr
99
1010{% assign chapters = site.chapters | sort: 'order' %}
1111{% for ch in chapters %}
12- {{ ch.order }}. [ {{ ch.title }}] ({{ ch.url }})
12+ {{ ch.order }}. [ {{ ch.title }}] ({{ ch.url | relative_url }})
1313{% endfor %}
1414
1515## About This Book
You can’t perform that action at this time.
0 commit comments