Teeny
Teeny is a super simple static site generator built to suit my needs and my needs only.
Features
- Support for MarkDown
- Static Site Generator
Tags
- static-website
- Developer Tools
Teeny News & Activities
Recent activities
- tesserato added Teeny as alternative to Dead Simple Blog Generator
Teeny information
What is Teeny?
Teeny is a super simple static site generator built to suit my needs and my needs only.
All it does is generate pages based on HTML templates and Markdown content.
It does very little and is strongly opinionated (read: I was too lazy to build customization/conditional handlers), but has allowed me to build a blog I'm happy with extremely quickly.
Essentially, there are really only 2 concepts you need to think about: templates and pages.
Templates
Templates are plain HTML and should be added to a templates/ subdirectory.
They can contain an element with the id page-content, which is where Teeny adds the HTML generated by parsing the Markdown content.
Pages
Markdown is a first-class citizen in Teeny, so all of your website's pages are defined by a Markdown file.
The file need not have any actual content though, so if you want a page to be defined purely in HTML you just need to create a template that is referenced from a page file.
To specify what template a page should use, you add an HTML comment on the first line of the page file, like so:
<!-- template: blog -->In the above example, Teeny will look for a template called blog.html. If no template is specified, Teeny looks for a default.html file in templates/ and uses that.


