Skip to main content

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 init

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.

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

Yak-0.1.4.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file Yak-0.1.4.tar.gz.

File metadata

  • Download URL: Yak-0.1.4.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Yak-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c078ccb4614da6483525b94fad5023de15496ffa62a695e4baf6065ff93a2280
MD5 934db0a73f49820f957894d5acc229a7
BLAKE2b-256 c50d4567e5ab32726749179e156e2d90648eda10a57db16aa9fae0b9ae02c83e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page