static blog generator
Project description
install
pip3 install zvc
help
> zvc --help
Usage: zvc [OPTIONS] COMMAND [ARGS]...
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy │
│ it or customize the installation. │
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────╮
│ init Initialize the blog structure with required directories and config │
│ file. │
│ clean Clean the generated files │
│ build Build the static site. │
╰──────────────────────────────────────────────────────────────────────────────╯
init
> mkdir blog
> cd blog
> zvc init
Initializing blog structure...
Created directory: contents
Created directory: themes
Created directory: themes/default
Created directory: themes/default/assets
Created file: config.yaml
Created file: themes/default/index.html
Created file: themes/default/post.html
Created file: themes/default/assets/style.css
Created directory: docs
Initialization complete!
build
> zvc build
Building static site...
Cleared directory: docs
Copying theme assets from: themes/default/assets
Theme assets copied to: ./docs/assets
Converting markdown files... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100%
Created index.html: docs/index.html
Build complete!
run
> python -m http.server 8000 --directory ./docs
Markdown Frontmatter
zvc supports frontmatter in markdown files. You can add metadata at the top of your markdown files using YAML format.
Supported Fields
title: Post titleauthor: Post author (optional)status: Post status -draftorpublished(default:published). Draft posts are excluded from build output.pub_date: Publication date (YYYY-MM-DD format)description: Post descriptionfeatured_image: URL to featured imagetags: List of tags
Example
---
title: 'My First Post'
author: 'John Doe'
status: 'published'
pub_date: '2024-07-13'
description: 'This is my first blog post'
featured_image: ''
tags: ['blog', 'tutorial']
---
# Your Content Here
Write your blog post content below the frontmatter.
The author field will be displayed in both the post page and the index page alongside the publication date.
Setting status: 'draft' will exclude the post from the build output. If not specified, the default is published.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zvc-0.1.8.tar.gz.
File metadata
- Download URL: zvc-0.1.8.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9f3615057fb8f729ce89d32dae20b9ae9742e3b32b745f52cc62d3f8ff700ba
|
|
| MD5 |
c5bc8a58b302adcf69efca6a46649af1
|
|
| BLAKE2b-256 |
492c8d535d72d35d04a2a27f5b70c794b86d9aa03a4d2e1afe3d2b98a159d249
|
Provenance
The following attestation bundles were made for zvc-0.1.8.tar.gz:
Publisher:
deploy.yml on ash84-io/zvc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zvc-0.1.8.tar.gz -
Subject digest:
c9f3615057fb8f729ce89d32dae20b9ae9742e3b32b745f52cc62d3f8ff700ba - Sigstore transparency entry: 942407365
- Sigstore integration time:
-
Permalink:
ash84-io/zvc@67652a91d8d9aa9add7df0ab0dff082908c8c910 -
Branch / Tag:
refs/tags/0.1.8 - Owner: https://github.com/ash84-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@67652a91d8d9aa9add7df0ab0dff082908c8c910 -
Trigger Event:
push
-
Statement type:
File details
Details for the file zvc-0.1.8-py3-none-any.whl.
File metadata
- Download URL: zvc-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a013238f39da739ff0569e657b5436e2c9afec64069b58b0c075fb6afbc6988
|
|
| MD5 |
708cd3ad1df0a434f3bd5985c64b55af
|
|
| BLAKE2b-256 |
e4a37ee8b7a3c042bbee51ea9d1bf5aa80936db6a43c4fdc12c579316f798313
|
Provenance
The following attestation bundles were made for zvc-0.1.8-py3-none-any.whl:
Publisher:
deploy.yml on ash84-io/zvc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zvc-0.1.8-py3-none-any.whl -
Subject digest:
6a013238f39da739ff0569e657b5436e2c9afec64069b58b0c075fb6afbc6988 - Sigstore transparency entry: 942407369
- Sigstore integration time:
-
Permalink:
ash84-io/zvc@67652a91d8d9aa9add7df0ab0dff082908c8c910 -
Branch / Tag:
refs/tags/0.1.8 - Owner: https://github.com/ash84-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@67652a91d8d9aa9add7df0ab0dff082908c8c910 -
Trigger Event:
push
-
Statement type: