Teeny

Teeny is a super simple static site generator built to suit my needs and my needs only.

Cost / License

  • Free
  • Open Source

Application type

Platforms

  • Self-Hosted
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
  1.  Support for MarkDown
  2.  Static Site Generator

 Tags

Teeny News & Activities

Highlights All activities

Recent activities

Show all activities

Teeny information

  • Developed by

    Yakko Majuri
  • Licensing

    Open Source and Free product.
  • Written in

  • Alternatives

    56 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

GitHub repository

  •  118 Stars
  •  8 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Teeny was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

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.

Official Links