diff options
Diffstat (limited to 'tissue/web/themes/default.scm')
-rw-r--r-- | tissue/web/themes/default.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tissue/web/themes/default.scm b/tissue/web/themes/default.scm index 7ab8c89..10732ee 100644 --- a/tissue/web/themes/default.scm +++ b/tissue/web/themes/default.scm @@ -1,5 +1,5 @@ ;;; tissue --- Text based issue tracker -;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2022, 2023 Arun Isaac <arunisaac@systemreboot.net> ;;; ;;; This file is part of tissue. ;;; @@ -113,10 +113,11 @@ theme. @var{title} is the title to use in the head of the HTML. @var{css} is a URI to a CSS stylesheet to link to. If it is @code{#f}, no stylesheet is linked to." - (add-methods render-sxml + (add-method! render-sxml (make <method> #:specializers (list <search-page-head> <search-page>) - #:procedure (make-head-renderer title css)))) + #:procedure (make-head-renderer title css))) + render-sxml) (define-method (render-sxml (page <search-page>)) "Return SXML for @var{page}, a @code{<search-page>}." |