diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-12-05 14:20:38 -0600 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-12-05 14:20:38 -0600 |
| commit | e70e4953fce7eb4ca259e3e3a27036c6b55542e0 (patch) | |
| tree | d8371257dfd731a725bf81cf7b4a3e1e1892f20e | |
| parent | 02e36cfd15a02136a5643ceb519feeb06a2cc7fd (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.
| -rw-r--r-- | haunt.scm | 4 | ||||
| -rw-r--r-- | theme.scm | 11 |
2 files changed, 3 insertions, 12 deletions
@@ -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"))))) @@ -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)) |
