Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/damiencaselli/hugo-journal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Caselli <damien.caselli@gmail.com>2017-07-23 19:39:05 +0300
committerDamien Caselli <damien.caselli@gmail.com>2017-07-23 19:39:05 +0300
commit1967eb9076a2484133b543b1a4988e4ad0a4cf8e (patch)
tree23231529c8d2dd20aa27f823740bc79792566609
parent81dc2b2a7d031b33fe294412213dd633bf6da758 (diff)
Use relative permalinks to link posts
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 72d3722..3dd479b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -10,7 +10,7 @@
{{ range .Pages -}}
<li>
<time datetime="{{ dateFormat "2006-01-02T15:04:05Z-07:00" .Date }}">{{ dateFormat "Jan 02" .Date }}</time>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{- end }}
</ol>