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 workflow
to update my github profile. - Asynchronous search with
fuse
andAlpine.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 server
runshugo server
in a containertask shell
runssh
in a containertask build
runshugo build
in a containertask theme
runsnpx tailwindcss --watch
while creating changes to themetask assets
runsnpx tailwind --minify
to commit changes tostatic/
task lint
runsyamllint
in a container to verify syntax ofyaml
config 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