Help pages for lost users
npm install
npm start
npm build
to build
This repo is automatically deployed when code is merged to master. Deployment code is located in .github/workflows/11ty-build.yml
.
File structure is as follows:
/src/index.njk
: Main hub page, lists all pages with the categories tag/src/**/index.md
: Category list pages, most of the heavy lifting is done in/src/_include/layouts/category-index.njk
/src/**/*.md
: Articles, most of the heavy lifting is done in/src/_include/layouts/category-page.njk
/src/images, /src/css, /src/js
asset folders
These pages are nested version of the main hub used for navigation They require the following keys and no content:
title
: Page titlesubtitle
: A description of the Hubname
: the id of the hubtype
: Alwayshub
layout
: Alwayslayouts/hub.njk
hub
: the name of the parient hub page (home
for the home page)position
: determines the position on the parient hub page
These pages place their content in the artcle page template that generates related the sidemenu and breadcrumbs They require the following keys:
title
: Page titlesubtitle
: A description of the pagetype
: Alwaysarticle
hub
: The Hub page that the article page will appear onposition
: The position on the hub pagelayout
: Alwayslayouts/article.njk
The 11ty is as of writing fairly poor, heres some links to help: