summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haunt.scm4
-rw-r--r--theme.scm11
2 files changed, 3 insertions, 12 deletions
diff --git a/haunt.scm b/haunt.scm
index 99b13bb..b82c660 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -10,8 +10,7 @@
(haunt post)
(haunt html)
(theme)
- (reader)
- (games))
+ (reader))
(define blog-prefix "/blog")
@@ -52,7 +51,6 @@
#:blog-prefix blog-prefix)
(flat-pages #:template flat-page-template)
(static-directory "images")
- color-quiz-page
(lambda (site posts)
(list (verbatim-artifact "style.css" "style.css")))))
diff --git a/theme.scm b/theme.scm
index c3b9488..478029f 100644
--- a/theme.scm
+++ b/theme.scm
@@ -7,8 +7,7 @@
#:use-module (sxml xpath)
#:export (hwebs-theme-blog
hwebs-theme-now
- flat-page-template
- game-page))
+ flat-page-template))
(define (post-uri post site prefix)
(string-append (or prefix "") "/"
@@ -120,7 +119,7 @@
posts)))))
-;;; GAMES
+;;; static pages that need some more
(define (static-page title file-name body)
(lambda (site posts)
(serialized-artifact file-name
@@ -128,9 +127,3 @@
(with-layout hwebs-theme-now site title body)
sxml->html)))
-(define (game-page name js file-name)
- (define body
- `((h1 ,name)
- (script (@ (src ,js)))
- (div (@ (id "app")))))
- (static-page name (string-append "games/" file-name) body))