diff options
author | Ralf Geschke <ralf@kuerbis.org> | 2019-07-26 20:09:59 +0300 |
---|---|---|
committer | Ralf Geschke <ralf@kuerbis.org> | 2019-07-26 20:09:59 +0300 |
commit | bcd1ef4c438da855496bdd61d4ab5fba9df6b98c (patch) | |
tree | 93ca6849d018f952cc02b0522f0c3677410446d2 | |
parent | 6a2a63629d484707d44d6d693879f263ecd73083 (diff) |
.URL deprecation warning fix
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | layouts/partials/navbar_items.html | 6 | ||||
-rw-r--r-- | theme.toml | 4 |
3 files changed, 10 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b9829bf..69bd90b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.2.4 - 2019-07-26 + +### Changed + +- Moved from .URL to .RelPermalink in the navigation template due to Page's deprecation warning + ## 0.2.3 - 2019-02-13 ### Changed diff --git a/layouts/partials/navbar_items.html b/layouts/partials/navbar_items.html index 6c4cd79..43f5695 100644 --- a/layouts/partials/navbar_items.html +++ b/layouts/partials/navbar_items.html @@ -16,7 +16,7 @@ </li> <span class="mx-2"></span> {{ else }} - <li class="nav-item {{ if eq $currentPage.URL .URL }}active{{ end }}"> + <li class="nav-item {{ if eq $currentPage.RelPermalink .URL }}active{{ end }}"> <a class="nav-link" href="{{ .URL }}"> {{ .Pre }} {{ .Name }} @@ -24,6 +24,4 @@ </li> <span class="mx-2"></span> {{ end }} -{{ end }} - - +{{ end }}
\ No newline at end of file @@ -1,6 +1,6 @@ # Name : Tikva -# Version : 0.2.3 -# Released : 2019-02-13 +# Version : 0.2.4 +# Released : 2019-07-26 name = "Tikva" license = "MIT" |