Flairr Docs

Site structure

A basic Flairr site looks something like this under the hood: There are three main folders: pages, public, and templates

The pages folder contains all of your pages.

The public folder contains all of the files that will be generated when you run hugo.

The templates folder contains all of the templates that will be used to generate your site. These files have the file extension .tmpl and are written in the Go templating language. Unfortunately, there are no user-friendly docs for the Go templating language online... here is an example of a link.

.
├── pages
│   ├── blog
│   │   ├── _index.md
│   │   ├── first-post.md
│   │   └── second-post.md
│   └── index.md
├── public
│   ├── css
│   │   ├── main.css
│   │   ├── variables.css
│   │   └── header.css
│   ├── assets
│   │   ├── image1.jpeg
│   │   ├── image2.jpeg
│   │   └── image3.jpeg
│   ├── favicon.ico
│   └── preview.jpeg
├── templates
│   ├── components
│   │   ├── header.tmpl
│   └── layouts
│       ├── collection
│       │   ├── grid.tmpl
│       │   └── list.tmpl
│       ├── post.tmpl
│       └── default.tmpl
└── site.yml