ShipClojure Blog

ShipClojure supports blog posts for SEO through Quickblog. Please read the docs for Quickblog if you want to configure it further.

You can see the configuration in system.edn on :quickblog/config key

:quickblog/config {:blog-title "ShipClojure Blog"
                    :blog-description  "A blog about shipping products FAST with Clojure"
                    :posts-dir "resources/blog/posts" ;; where we store posts
                    :templates-dir "resources/blog/templates" ;; where the templates are stored
                    :assets-dir "resources/blog/assets"
                    :out-dir "resources/public/blog"
                    :blog-root "/blog"
                    :relative-path "/blog/"
                    :twitter-handle "@ovstoica"
                    :favicon true
                    :favicon-dir "resources/public/favicons"}

Important: The blog config is read into babashka which does not support reader tags, so the :quickblog/config key needs to remail last in system.md

Adding a new blog post

$ bb quickblog new --file "test.md" --title "Test"

This will create the file resources/blog/posts/test.md.

To preview the post as you type it, run

bb quickblog watch

And then you can visit http://localhost:8080/blog/my-cool-post and you can see it there

Last updated