Browse Source

hyde init

master
Ivan Polyakov 2 years ago
parent
commit
10fd7df6e2
  1. 12
      .gitignore
  2. 3
      hyde.scm
  3. 8
      layouts/default.sxml
  4. 3
      src/index.sxml

12
.gitignore vendored

@ -1,9 +1,5 @@
# ---> Scheme dist/
*.ss~
*.ss#*
.#*.ss
*.scm~
*.scm#*
.#*.scm
*~
*#*
.#*

3
hyde.scm

@ -0,0 +1,3 @@
(import hyde)
(output-dir "dist")

8
layouts/default.sxml

@ -0,0 +1,8 @@
()
`((xhtml-1.0-strict)
(html
(head
(title ,($ 'title)))
(body
(h1 ,($ 'title))
(inject ,contents))))

3
src/index.sxml

@ -0,0 +1,3 @@
((title . "title"))
'(div "content")
Loading…
Cancel
Save