Site built with hugo and a tailwind theme, based from the papercss theme but extensively modified.
Features:
- No explicit trackers, some JS loaded from CDN.
- RSS feed for integration with
my github workflowto update my github profile. - Asynchronous search with
fuseandAlpine.js. - Comment integration with
utteranc.es. - Some SEO, and good Lighthouse audit score.
- Hosted on Cloudflare Pages.
- Staging hosted on netlify
Mostly a tech blog for my own reference.
| Function | Class | Color |
|---|---|---|
| background | ac-background |
#1d1e20 |
| text | gray-400 |
#9ca3af |
| link, titles | white |
#ffffff |
| accent | gray-800 |
#1f2937 |
| code | sky-500 |
#0ba5e9 |
Favicon generated with favicon.io; foreground: #ddddde, background: #2e2e33, font: Roboto @ size 90.
Use task over make. make remains as netlify uses this.
task serverrunshugo serverin a containertask shellrunsshin a containertask buildrunshugo buildin a containertask themerunsnpx tailwindcss --watchwhile creating changes to themetask assetsrunsnpx tailwind --minifyto commit changes tostatic/task lintrunsyamllintin a container to verify syntax ofyamlconfig files
- Install
nvm - Install newest LTS
nvm install --lts - Use newest LTS
nvm use --lts - Install stuff
npm install
Lint yaml files on commit, shouldn't edit many yaml files after initial setup.
git config core.hookspath "$(pwd)/.scripts"Sane WebStorm/PHP committing:
Preferences > Version Control > Commit
- Check
Use non-modal commit interface