This is a demo of how to build a Griffin website from a fresh mix new project.
⚠️ Griffin is in alpha stage, under active development and is subject to major changes as it evolves from community feedback and improvements. Expect rough edges and parts that don't work. Griffin will have a1.0.0release when it's considered stable.
To test it out locally:
- Clone the repository to your local file system
- Run
mix deps.getto install Griffin and its dependencies - Run
mix grf.buildto generate the website from the markdown files - Open the files in
_sitein your favorite web browser
Although a very small proof of concept, this project demonstrates the following Griffin features:
- Support for different layouts specified inside each Markdown source file
- Layouts support partials, which are templates that can be embedded in multiple layouts (think headers, footers that are common to multiple pages)
- Configurable input and output directories