init
authorDaniel Liu <mr.picklepinosaur@gmail.com>
Sat, 10 Jul 2021 02:25:00 +0000 (22:25 -0400)
committerDaniel Liu <mr.picklepinosaur@gmail.com>
Sat, 10 Jul 2021 02:25:00 +0000 (22:25 -0400)
README.md [new file with mode: 0644]
pinopress [new file with mode: 0755]
templates/foot.template.html [new file with mode: 0644]
templates/head.template.html [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
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 (executable)
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 (file)
index 0000000..5e0ea02
--- /dev/null
@@ -0,0 +1,2 @@
+<footer>
+</footer>
diff --git a/templates/head.template.html b/templates/head.template.html
new file mode 100644 (file)
index 0000000..81d7289
--- /dev/null
@@ -0,0 +1,6 @@
+<head>
+    <meta charset="utf-8">
+    <link rel="stylesheet" href="#"> 
+    <link rel="shortcut icon" href="#">
+    <title></title>
+</head>