Refactor theme to use relative urls everywhere

This commit is contained in:
Alex Shpak
2019-02-20 10:37:48 +01:00
parent 0cfb8a08a4
commit eb67ab58aa
6 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
{{ range sort .Paginator.Pages }}
<article>
<h2>
<a href="{{ .Permalink }}">{{ .Title }}</a>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2>
<h5>
<strong>{{ .Date.Format "January 2, 2006" }}</strong>
@@ -11,7 +11,7 @@
<p class="markdown">
{{- .Summary -}}
{{ if .Truncated }}
<a href="{{ .Permalink }}">...</a>
<a href="{{ .RelPermalink }}">...</a>
{{ end }}
</p>
</article>