Compare commits

...

2 Commits

  1. 9
      Makefile
  2. 12
      index.html
  3. 2
      src/index.lisp

9
Makefile

@ -0,0 +1,9 @@
LISP ?= sbcl
default:
$(LISP) --load src/index.lisp \
--eval '(write-html-to-file)'
.PHONY: default
.SILENT: default

12
index.html

@ -0,0 +1,12 @@
<html lang=en>
<head>
<meta charset=UTF-8>
<link rel=stylesheet href=style.css>
<body>
<div class=body>
<h1>welcome</h1>
<p>hello, im cath and i exist
</div>
</body>
</head>
</html>

2
src/index.lisp

@ -7,7 +7,7 @@
(spinneret:with-html-string
(:html
(:head
(:link :rel "style.css")
(:link :rel "stylesheet" :href "style.css")
(:body
(:div :class "body"
(:h1 "welcome")

Loading…
Cancel
Save