Flexible Lisp Blogware. Fork for personal use. Mirrored from https://github.com/kingcons/coleslaw originally.

packages.lisp 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. (defpackage :coleslaw
  2. (:documentation "Homepage: <a href=\"http://github.com/redline6561/coleslaw\">Github</a>")
  3. (:use :cl)
  4. (:import-from :alexandria #:hash-table-values
  5. #:make-keyword
  6. #:mappend)
  7. (:import-from :cl-fad #:file-exists-p)
  8. (:import-from :cl-ppcre #:scan-to-strings)
  9. (:import-from :closure-template #:compile-template)
  10. (:import-from :local-time #:format-rfc1123-timestring)
  11. (:import-from :uiop #:getcwd
  12. #:chdir
  13. #:ensure-directory-pathname
  14. #:directory-exists-p)
  15. (:export #:main
  16. #:preview
  17. #:*config*
  18. ;; Core Classes
  19. #:content
  20. #:post
  21. #:index
  22. ;; Content Helpers
  23. #:title-of
  24. #:author-of
  25. #:find-content-by-path
  26. ;; Theming + Plugin API
  27. #:theme-fn
  28. #:plugin-conf-error
  29. #:render-text
  30. #:add-injection
  31. #:get-updated-files
  32. #:deploy
  33. ;; The Document Protocol
  34. #:discover
  35. #:publish
  36. #:page-url
  37. #:render
  38. #:find-all
  39. #:purge-all
  40. #:add-document
  41. #:delete-document
  42. #:write-document
  43. #:content-text))