Built with Hugo and deployed on Google App Engine via CircleCI. See it live at ataylor.io.
It uses Fathom for privacy-first website analytics.
Directories are laid out as follows:
appcontains source code for the App Engine application.app/site/publicis where static assets from the Hugo site are built for embedding into the server binary and deployment within App Engine.
assetsis the Hugo assets directory for management via pipes.contentis the Hugo directory for blog and other page content, mirroring the organization of the site.content/blogis where blog posts are written.
datais the Hugo data directory for various pieces of data such as external posts of interest.expcontains experimental packages and code for various apps and pages.layoutsis the Hugo directory for templates, which have a very specific lookup order determining which templates are used where. A few examples of these layouts are:layouts/index.htmlis the homepage for the site.layouts/_defaultcontains default templates for when no specific template is defined.layouts/partialscontain reusable snippets for inclusion in other templates.
scriptsis a collection of utility scripts for working with the repo and things like deployment management.staticcontains static files deployed as-is by Hugo.
To install dependencies, make sure you have a recent version of node, go, and hugo installed, and run the following command:
npm installTo run the application, perform the following command:
npm run startTo run unit tests, perform the following commands:
npm testcd app
go test -v ./...To run browser automation tests, perform the following command:
npm run test:e2e