2021-06-07 02:38:03 +00:00
|
|
|
#lang s-exp "../xtemplate.rkt"
|
|
|
|
|
|
|
|
`(html
|
|
|
|
([lang "en"])
|
|
|
|
(head
|
|
|
|
()
|
2021-06-07 07:56:53 +00:00
|
|
|
(!HTML-COMMENT () " this page made with: trans rights 🏳️⚧️ ")
|
2021-06-07 02:38:03 +00:00
|
|
|
(meta ([charset "utf-8"]))
|
2021-06-07 03:09:23 +00:00
|
|
|
(title () ,(metadata-ref+ metadata 'title "<untitled article>"))
|
2021-06-07 02:38:03 +00:00
|
|
|
(meta ([name "viewport"] [content "width=device-width, initial-scale=1"]))
|
2021-06-07 03:09:23 +00:00
|
|
|
,@(match (metadata-ref+ metadata 'summary)
|
2021-06-07 02:38:03 +00:00
|
|
|
[#f '()]
|
|
|
|
[summary
|
|
|
|
`((meta ([name "description"] [content ,summary])))])
|
2021-06-07 03:09:23 +00:00
|
|
|
,@(match (metadata-ref metadata 'authors)
|
2021-06-07 02:38:03 +00:00
|
|
|
[(or #f '()) '()]
|
|
|
|
[authors
|
|
|
|
`((meta ([name "author"] [content ,(string-join authors ", ")])))])
|
2021-06-07 03:09:23 +00:00
|
|
|
,@(match (metadata-ref metadata 'date)
|
2021-06-07 02:38:03 +00:00
|
|
|
[#f '()]
|
2021-06-07 03:09:23 +00:00
|
|
|
[(list yn mn dn)
|
|
|
|
`((meta ([name "DC.Date.created"]
|
|
|
|
[content ,(format "~a-~a-~a"
|
|
|
|
(~r yn #:min-width 4 #:pad-string "0")
|
|
|
|
(~r mn #:min-width 2 #:pad-string "0")
|
|
|
|
(~r dn #:min-width 2 #:pad-string "0"))])))])
|
2021-06-07 02:38:03 +00:00
|
|
|
(meta ([name "generator"] [content "meow meow meow meow"]))
|
|
|
|
;<link rel="shortcut icon" type="image/png" href="haskal.png"/>
|
2021-06-07 09:09:20 +00:00
|
|
|
(link ([rel "stylesheet"] [type "text/css"] [href "index.css"])))
|
2021-06-07 02:38:03 +00:00
|
|
|
(body
|
|
|
|
()
|
|
|
|
(nav
|
|
|
|
()
|
2021-06-07 03:09:23 +00:00
|
|
|
,content-toc)
|
2021-06-07 02:38:03 +00:00
|
|
|
(main
|
|
|
|
()
|
2021-06-07 03:09:23 +00:00
|
|
|
,@content)
|
2021-06-07 07:56:53 +00:00
|
|
|
;; mathjax polyfill script sentinel -- gets replaced by a script tag for crying doge chrombe
|
|
|
|
;; and with nothing for swole firefox
|
|
|
|
(div ([style "display: none"]) "__X_MATHJAX_POLYFILL_PLACEHOLDER__")))
|