From 55987a4c1bd7364eba7438e7326a76a9a550b668 Mon Sep 17 00:00:00 2001 From: r Date: Tue, 14 Jan 2020 16:57:16 +0000 Subject: Refactor renderer and templates --- renderer/model.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'renderer/model.go') diff --git a/renderer/model.go b/renderer/model.go index 64b9946..cc0a6ce 100644 --- a/renderer/model.go +++ b/renderer/model.go @@ -5,12 +5,17 @@ import ( "mastodon" ) +type Context struct { + MaskNSFW bool + FluorideMode bool + ThreadInNewTab bool + DarkMode bool +} + type HeaderData struct { Title string NotificationCount int CustomCSS string - FluorideMode bool - DarkMode bool } type NavbarData struct { -- cgit v1.2.3