making all path relative
This commit is contained in:
parent
1d1c40fd3b
commit
f39725b142
24 changed files with 85 additions and 61 deletions
|
|
@ -18,6 +18,7 @@ pagination:
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{% include relBase.html %}
|
||||
{% include highlightmetahead.html %}
|
||||
{% include matomo.html %}
|
||||
</head>
|
||||
|
|
@ -31,8 +32,8 @@ pagination:
|
|||
</div>
|
||||
{% for post in paginator.posts %}
|
||||
<div class="records" style="border-bottom: solid 1px #f4ffe8;">
|
||||
<a href="{{ site.baseurl }}{{ post.url }}">
|
||||
<img class="recordthumbs" src="{{ site.baseurl }}{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" />
|
||||
<a href="{{ relBase }}{{ post.url }}">
|
||||
<img class="recordthumbs" src="{{ relBase }}{{ post.image }}" title="{{ post.title }}" alt="{{ post.title }}" />
|
||||
<h3>{{ post.title}}</h3></a>
|
||||
<p>{{ post.date | date: "%a, %b %d, %Y" }} </p>
|
||||
<p>{{ post.description }} </p>
|
||||
|
|
@ -45,13 +46,13 @@ pagination:
|
|||
<div class="articles">
|
||||
<h3>page {{ paginator.page }} of {{ paginator.total_pages }}</h3>
|
||||
{% if paginator.previous_page %}
|
||||
<a href="{{ site.baseurl }}{{ paginator.previous_page_path }}"><h3>« Newer</h3></a>
|
||||
<a href="{{ relBase }}{{ paginator.previous_page_path }}"><h3>« Newer</h3></a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="{{ site.baseurl }}{{ paginator.next_page_path }}"><h3>Older »</h3></a>
|
||||
<a href="{{ relBase }}{{ paginator.next_page_path }}"><h3>Older »</h3></a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue