diff options
author | Damien Caselli <damien.caselli@gmail.com> | 2017-07-23 19:39:05 +0300 |
---|---|---|
committer | Damien Caselli <damien.caselli@gmail.com> | 2017-07-23 19:39:05 +0300 |
commit | 1967eb9076a2484133b543b1a4988e4ad0a4cf8e (patch) | |
tree | 23231529c8d2dd20aa27f823740bc79792566609 | |
parent | 81dc2b2a7d031b33fe294412213dd633bf6da758 (diff) |
Use relative permalinks to link posts
-rw-r--r-- | layouts/index.html | 2 |
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> |