A blog baking engine.
Project description
Yak is a static blog generator, colloquially known as a blog baking engine.
Quickstart
To get started, run the following command:
yak --build-base
And Yak will build a basic Yak blog structure with a single blog post in the current working directory. Edit the ‘_config.py’ file to configure Yak.
You can now ‘bake’ a blog from the result of the command above:
yak
Because no arguments are passed, Yak will use the current working directory as the blog source directory and write the baked blog in the ‘_site’ directory.
All you have to do now is just serve the contents of that directory with the web server of your choice.
Usage
yak [SOURCE_DIR] [OUTPUT_DIR]
If no SOURCE_DIR is passed, the current working directory will be used as the SOURCE_DIR.
If no OUTPUT_DIR is passed, ‘_site’ will be used as the OUTPUT_DIR.
As of the current version, Yak will remove the contents of OUTPUT_DIR before writing the baked blog to OUTPUT_DIR.
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Yak-0.1.2.tar.gz
.
File metadata
- Download URL: Yak-0.1.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede0411eeb49cae6f6af1ba1f0bf8f69caecc8d40f1196a6255092fd07a738b4 |
|
MD5 | d264206b29167e44ffedd8715a617e44 |
|
BLAKE2b-256 | 36994e82ce8fafe74b686d380657c3c905cf5135a49958cb7396e48fe3549ea9 |