summaryrefslogtreecommitdiff
path: root/theme.scm
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-12-05 14:20:38 -0600
committerHenry J. Webster <hwebs@hwebs.info>2026-12-05 14:20:38 -0600
commite70e4953fce7eb4ca259e3e3a27036c6b55542e0 (patch)
treed8371257dfd731a725bf81cf7b4a3e1e1892f20e /theme.scm
parent02e36cfd15a02136a5643ceb519feeb06a2cc7fd (diff)
remove game page code
This code is not used because it's taking a long time to come up with the actual games. Remove for now and can be reintegrated later.
Diffstat (limited to 'theme.scm')
-rw-r--r--theme.scm11
1 files changed, 2 insertions, 9 deletions
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))