diff options
author | Victoria Drake <hello@victoria.dev> | 2020-04-11 20:08:27 +0300 |
---|---|---|
committer | Victoria Drake <hello@victoria.dev> | 2020-04-11 20:14:23 +0300 |
commit | af60c7f41dbacca98a2f8efb9837fc7af2a2eee0 (patch) | |
tree | 014d83e59dc21a617436633e0f8a332b2c44a358 /layouts | |
parent | 889e08be14d9055a58d05e7fc80bd3a7f4e64075 (diff) |
🔨 Use Pages for preview, fix rel links
- Make bottom menu links properly relative
- Removes Netlify in favor of Pages from docs/
- Update README to add more error info, close #72
Diffstat (limited to 'layouts')
-rwxr-xr-x | layouts/partials/bottom_menu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/bottom_menu.html b/layouts/partials/bottom_menu.html index 4aaf93c..70386e7 100755 --- a/layouts/partials/bottom_menu.html +++ b/layouts/partials/bottom_menu.html @@ -12,13 +12,13 @@ {{ if .Page.Site.Params.mainMenu }} {{ range first 1 .Page.Site.Params.mainMenu }} - <a href="{{ .link }}">{{ .text }}</a> + <a href="{{ .link | relURL }}">{{ .text }}</a> {{ end }} {{ if ( gt ( len .Page.Site.Params.mainMenu ) 1 ) }} {{ range after 1 .Page.Site.Params.mainMenu }} · - <a href="{{ .link }}">{{ .text }}</a> + <a href="{{ .link | relURL }}">{{ .text }}</a> {{ end }} {{ end }} · |