3 **pinopress** is a modular makefile based static blog generator. that means you run the build script once and every page is generated beforehand.
5 built in features include markdown generated blog articles, and a rss feed.
9 templates are html snippets that you can customize. these templates are then pieced together to form the final html page. edit them to your liking. they can be found in the `templates/` directory. Here's a brief description of each one:
11 template | description
12 ------------------|-----------
13 head | html before body
14 foot | html after body
15 archivebody | everything inside body of archive page
17 rollingbody | everything inside body of rolling page
22 these have not been implemented yet, but modules are shellscripts that are called during the build process that can add extra features.
24 here are some potential ideas for modules:
25 - [ ] syntax highlight for code blocks
26 - [ ] blog average time to read
28 ## pinopress flavored markdown
30 pinopress articles are written in an enhanced version of markdown. specification coming soon.
34 **pinopress** makes extensive use of **gnu envsubst** so in each template, you can use variables that will be substituted in on build. variables can be used in both templates and blog articles. Here's a list of some that you can use:
38 `$SITEURL` - the SITEURL variable you set in the pinopress config
40 `$USERVAR1` - global variable you can use however you want
42 `$USERVAR2` - a second user defined global variable
46 `$ARTICLE_TITLE` - title of article, as set in article header
48 `$PUBLISHED_DATE` - the date/time the article was published, as set in the article header