diff --git a/themes/sourcehut/address-book.html b/themes/sourcehut/address-book.html index 4becfda..2df65c1 100644 --- a/themes/sourcehut/address-book.html +++ b/themes/sourcehut/address-book.html @@ -1,5 +1,5 @@ {{template "head.html"}} -{{template "nav.html"}} +{{template "nav.html" .Global}}
diff --git a/themes/sourcehut/address-object.html b/themes/sourcehut/address-object.html index 4e4f2de..11db5e1 100644 --- a/themes/sourcehut/address-object.html +++ b/themes/sourcehut/address-object.html @@ -1,5 +1,5 @@ {{template "head.html"}} -{{template "nav.html"}} +{{template "nav.html" .Global}} {{$fn := .AddressObject.Card.Value "FN"}} diff --git a/themes/sourcehut/compose.html b/themes/sourcehut/compose.html index 2433553..7538a36 100644 --- a/themes/sourcehut/compose.html +++ b/themes/sourcehut/compose.html @@ -1,5 +1,5 @@ {{template "head.html"}} -{{template "nav.html"}} +{{template "nav.html" .Global}}
diff --git a/themes/sourcehut/login.html b/themes/sourcehut/login.html index 08074fe..63edfd8 100644 --- a/themes/sourcehut/login.html +++ b/themes/sourcehut/login.html @@ -1,12 +1,5 @@ {{template "head.html"}} - +{{template "nav.html" .Global}}
diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html index 313b89d..e360f25 100644 --- a/themes/sourcehut/mailbox.html +++ b/themes/sourcehut/mailbox.html @@ -1,5 +1,5 @@ {{template "head.html"}} -{{template "nav.html"}} +{{template "nav.html" .Global}}
diff --git a/themes/sourcehut/message.html b/themes/sourcehut/message.html index 971b59f..4e1ab44 100644 --- a/themes/sourcehut/message.html +++ b/themes/sourcehut/message.html @@ -1,5 +1,5 @@ {{template "head.html"}} -{{template "nav.html"}} +{{template "nav.html" .Global}}
diff --git a/themes/sourcehut/nav.html b/themes/sourcehut/nav.html index d41ccd8..972fc48 100644 --- a/themes/sourcehut/nav.html +++ b/themes/sourcehut/nav.html @@ -4,23 +4,26 @@ koushin mail - - + {{if .LoggedIn}} + + + {{end}} diff --git a/themes/sourcehut/settings.html b/themes/sourcehut/settings.html index d52b100..292d5cc 100644 --- a/themes/sourcehut/settings.html +++ b/themes/sourcehut/settings.html @@ -1,5 +1,5 @@ {{template "head.html"}} -{{template "nav.html"}} +{{template "nav.html" .Global}}