commit 9e4cffb1cd98751f46a3678fa10a13ade4fabe89
parent e5a3b2087a2cb34f0772545e1e07a8d6f2d90cde
Author: Lightning <lightning@chatspeed.net>
Date: Thu, 1 Jan 2026 12:23:57 +0000
prelim suffix support for ussg-page/plugins/navbar.tm
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/navbar.tm b/plugins/navbar.tm
@@ -15,10 +15,10 @@ proc navbar {} {
if {![catch {dict get $::headers navbar-prefix} navprefix]} {set prefix [file normalize $navprefix]}
# This is the prefix that is assumed to be on $::outputfile during generation. This is used to calculate "this page."
- if {![catch {dict get $::headers navbar-suffix} navsuffix]} {set suffix [file normalize $navsuffix]}
+ if {![catch {dict get $::headers navbar-suffix} navsuffix]} {set suffix $navsuffix}
# This is the suffix that is assumed to be on $::outputfile during generation, but may not be in the link. This is used to calculate "this page."
- if {![catch {dict get $::headers url-prefix} curlprefix]} {set urlprefix [file normalize $curlprefix]}
+ if {![catch {dict get $::headers url-prefix} curlprefix]} {set urlprefix $curlprefix}
# This is the prefix that is assumed to be on URLs but not on $::outputfile during generation. This is used to calculate "this page."
if {[catch {dict get $::headers navbar-title} navtitle]} {set navtitle ""}