Markata is a fully plugins all the way down static site generator for folks who just want their site to get started quickly and build great content, with the ability to tinker with everything under the hood if they want to.
Markata is fully configurable through a
markata.toml file, but the defaults
allow to build your site right out of the box with nothing more than markdown.
Create Some Content
mkdir pages cd pages echo '# My First Post' > first-post.md echo '# Hello World' > hello-world.md
Build your site
pip install markata markata build # or if pipx is your thing pipx run markata build
You will likely want to set things like
template per post, this can all be done inside yaml frontmatter.
--- templateKey: blog-post tags: ['python',] title: My Awesome Post date: 2022-01-21T16:40:34 published: False --- This is my awesome post.
Frontmatter is not required, but definitely gives you more control over your site.
The blog-starter has a really great write
up on how to use markata. You can see it in your brower at the
link or run it yourself
pipx run markata
Markata has a project gallery to show off sites built with markata. Please submit yours, and check out the project-gallery for inspiration.
If you have comments, questions, issues, or like it enough to give a ⭐ check out waylonwalker/markata
Not much is documented yet, lots of work to do on the docs. Checkout LifeCycle to see what a more finished one looks like.
UPDATE - the
base_cli is also up to
date and includes a lot of examples of how to use the markata cli.
Yes this library generates it's own docs