seam

Symbolic-Expressions As Markup.
git clone git://git.knutsen.co/seam
Log | Files | Refs | README | LICENSE

index.sex (362B)


(!DOCTYPE html)
(html :lang en
  (head
    (title Blog Concept))
  (body
    (h1 My Blog)
    (h2 Index)
    (%define blog-dir (%sort :by date (%dir "./blog/*.sex")))
    (ul
      (%for file in %blog-dir
        (%let ((short-title (%basename %file)))
          (li (a :href (%concat "./blog"%short-title".html") %short-title)))))
    (p What interests you?)))