Crates.io | shellpage |
lib.rs | shellpage |
version | 0.2.0 |
source | src |
created_at | 2024-10-15 16:45:02.11987 |
updated_at | 2024-10-17 17:27:36.771309 |
description | Tool for conversion of markdown to html and quick blog setup |
homepage | |
repository | https://github.com/hellbound22/shellpage |
max_upload_size | |
id | 1409715 |
size | 43,931 |
Quickstart your blog posts in Github Pages. Write your posts in Markdown and render them in html with templates, javascript and css. Shellpage uses Tera for templates, but you don't even need to use them, if you don't want.
Check out this repo to see the results
# Creates new post and launches editor
shellpage new-post "BlogPost" -o
# Converts the Markdown files to HTML, apllies templates and updates index
shellpage publish --all --overwrite
# Updates index.html with the full list of blog posts
shellpage update-index
# config.toml
_sign_name = "John"
repo_path = "/home/user/blog/"
md_storage = "/home/user/blog/md/"
html_storage = "/home/user/blog/html/"
template_path = "/home/user/blog/templates/*"
editor = "nvim"