This repository contains the source code for the Conduit website at theconduit.dev.
Follow the instructions to install Anvil.
In the root folder of this project, run anvil serve. To generate the production
output, run anvil build.
The website is a statically-generated site built with Anvil.
-
The
templatesdirectory contains Jinja templates used to define the basic site structure and different types of pages. -
The
contentdirectory contains HTML and Markdown files, each of which define a page. Each specifies a template to define its surrounding structure and layout. These pages can also incorporate their own Jinja code. -
The
datadirectory contains JSON files, the data from which is automatically made available to Jinja and thus every page. -
The
stylesdirectory contains SCSS style code, which is compiled by Anvil to CSS. -
The
staticdirectory contains static content such as images.