Tapestry
Static Site Generator


Quick to generate, simple to build
and easy to extend.


Find out more

What is Tapestry?

Tapestry is a static site generator that uses the plates template system with front matter and markdownto make creating static sites quick to generate, simple to build and easy to extend.

<?php $this->layout('template', ['title' => 'Page Title']) ?>
<?php $this->start('page') ?>
<article>
    <h1>Welcome!</h1>
    <br>
    <p>Hello <?=$this->e($name)?>!</p>
</article>
<?php $this->stop() ?>

Use Plates, the native PHP template system
to build your static website.

PHP Plates is a native PHP template system inspired by the excellent Twig template engine and is similarly fast, easy to use and easy to extend.

Tapestry has been kept intentionally basic, incorporating PHP Plates for templating remains true to that goal.

---
title: Blog Post Title
draft: true
categories:
    - Misc
---
# Welcome
This is a page...

Markdown Extra, Taxonomy Support & Frontmatter

Markdown is an excellent format for writing, Tapestry extends upon that foundation by using Markdown Extra for formatting your content driven pages and Frontmatter for storing page meta, making Tapestry blog aware out of the box.

Find out more in the documentation…


Not invented here!

StaticGen has a list of other static site generators available, although to my knowledge
Tapestry is the only one to use the PHPPlates template engine.

Fancy giving Tapestry a spin?

Quickstart Guide