From: Daniel Liu Date: Sat, 10 Jul 2021 02:25:00 +0000 (-0400) Subject: init X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=03c62b630fd92a5b32920be4ee33453a3c8e8b3c;p=pinopress.git init --- 03c62b630fd92a5b32920be4ee33453a3c8e8b3c diff --git a/README.md b/README.md new file mode 100644 index 0000000..b5b2266 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Pinopress + +**pinopress** is a modular makefile based static blog generator. that means you run the build script once and every page is generated beforehand. + +built in features include markdown generated blog articles, and a rss feed. + +## templates + +templates are html snippets that you can customize. these templates are then pieced together to form the final html page. **pinopress** makes extensive use of **gnu envsubst** so in each template, you can use variables that will be substituted in on build. + +## modules + +these have not been implemented yet, but modules are shellscripts that are called during the build process that can add extra features. + +here are some potential ideas for modules: +- [ ] syntax highlight for code blocks +- [ ] blog average time to read + +## pinopress flavored markdown + +pinopress articles are written in an enhanced version of markdown. specification coming soon. + diff --git a/pinopress b/pinopress new file mode 100755 index 0000000..d056dab --- /dev/null +++ b/pinopress @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +SITEURL := https://blog.danieliu.xyz + +.PHONY: help build clean + +# internal variables +TEMPLATE_DIR := templates +BUILD_DIR := build +ARTICLE_DIR := articles + +ARTICLE_LIST := $(basename $(shell ls $(ARTICLE_DIR))) + +help: + @echo 'pinopress help|build|clean' + +build: + @echo 'building...' + +clean: + @echo 'cleaning...' diff --git a/templates/foot.template.html b/templates/foot.template.html new file mode 100644 index 0000000..5e0ea02 --- /dev/null +++ b/templates/foot.template.html @@ -0,0 +1,2 @@ + diff --git a/templates/head.template.html b/templates/head.template.html new file mode 100644 index 0000000..81d7289 --- /dev/null +++ b/templates/head.template.html @@ -0,0 +1,6 @@ + + + + + +