Something went wrong. Try again.
A static site generator written in Nix. poacher.dev/spoonful
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041{mkSite}: args:mkSite ( lib: { static = ./site/static; metadata = { title = "spoonful"; link = "http://127.0.0.1:9999"; description = "A demo site built with spoonful."; }; pandoc = { highlightStyle = "pygments"; highlightStyleDark = "breezedark"; }; content = let templates = lib.importTemplates ./site/templates; in { pages = { pages = lib.importContent ./site/content/pages; template = templates.page; root = true; }; docs = { pages = lib.importContent ./site/content/docs; template = templates.docsPage; }; blog = { pages = lib.importContent ./site/content/blog; template = templates.post; collection = { paginate = 1; tags = true; paginationTemplate = templates.pagination; tagTemplate = templates.tag; }; }; }; } // args)