diff options
Diffstat (limited to 'theme.scm')
| -rw-r--r-- | theme.scm | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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)) |
