Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718
  1. (module lament *
  2. (import scheme (chicken process-context))
  3. (import config build io paths render templates utils)
  4. (define (template content)
  5. `(html
  6. (head
  7. (title "My Website"))
  8. (body
  9. (div ,content))))
  10. (if (> (length (command-line-arguments)) 0)
  11. (let* ([config (build-config (command-line-arguments))]
  12. [posts (fetch-posts config)]
  13. [rendered-posts (render-posts posts template)])
  14. (build-posts config rendered-posts))
  15. (display "Error: path to source directory is required\n")))