2020-11-03 23:46:20 +00:00
|
|
|
seirdy.one
|
|
|
|
==========
|
|
|
|
|
2020-11-20 04:35:59 +00:00
|
|
|
[![sourcehut](https://img.shields.io/badge/repository-sourcehut-lightgrey.svg?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSINCiAgICB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCI+DQogIDxkZWZzPg0KICAgIDxmaWx0ZXIgaWQ9InNoYWRvdyIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyNSUiIGhlaWdodD0iMTI1JSI+DQogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIxLjUiDQogICAgICAgIGZsb29kLWNvbG9yPSJibGFjayIgLz4NCiAgICA8L2ZpbHRlcj4NCiAgICA8ZmlsdGVyIGlkPSJ0ZXh0LXNoYWRvdyIgeD0iLTEwJSIgeT0iLTEwJSIgd2lkdGg9IjEyNSUiIGhlaWdodD0iMTI1JSI+DQogICAgICA8ZmVEcm9wU2hhZG93IGR4PSIwIiBkeT0iMCIgc3RkRGV2aWF0aW9uPSIxLjUiDQogICAgICAgIGZsb29kLWNvbG9yPSIjQUFBIiAvPg0KICAgIDwvZmlsdGVyPg0KICA8L2RlZnM+DQogIDxjaXJjbGUgY3g9IjUwJSIgY3k9IjUwJSIgcj0iMzglIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjQlIg0KICAgIGZpbGw9Im5vbmUiIGZpbHRlcj0idXJsKCNzaGFkb3cpIiAvPg0KICA8Y2lyY2xlIGN4PSI1MCUiIGN5PSI1MCUiIHI9IjM4JSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSI0JSINCiAgICBmaWxsPSJub25lIiBmaWx0ZXI9InVybCgjc2hhZG93KSIgLz4NCjwvc3ZnPg0KCg==)](https://sr.ht/~seirdy/seirdy.one)
|
2020-11-03 23:46:20 +00:00
|
|
|
[![GitLab
|
|
|
|
mirror](https://img.shields.io/badge/mirror-GitLab-orange.svg?logo=gitlab)](https://gitlab.com/Seirdy/seirdy.one)
|
|
|
|
[![GitHub
|
|
|
|
mirror](https://img.shields.io/badge/mirror-GitHub-black.svg?logo=github)](https://github.com/Seirdy/seirdy.one)
|
|
|
|
|
2020-12-24 05:51:47 +00:00
|
|
|
[![builds.sr.ht
|
|
|
|
status](https://builds.sr.ht/~seirdy/seirdy.one.svg)](https://builds.sr.ht/~seirdy/seirdy.one)
|
2020-11-04 00:22:19 +00:00
|
|
|
|
2020-11-03 23:46:20 +00:00
|
|
|
Code for my personal website, [seirdy.one](https://seirdy.one). Built with Hugo.
|
2020-12-22 00:45:50 +00:00
|
|
|
|
2020-12-24 05:51:47 +00:00
|
|
|
Dependencies
|
|
|
|
------------
|
2020-12-22 00:45:50 +00:00
|
|
|
|
|
|
|
To build:
|
|
|
|
|
2020-12-24 05:51:47 +00:00
|
|
|
- Hugo 0.75 or later
|
2020-12-22 00:45:50 +00:00
|
|
|
- Make
|
|
|
|
- Git (Hugo uses Git info for features like date last updated)
|
|
|
|
- Zopfli (optional; set `NO_GZIP_STATIC=1` to disable)
|
|
|
|
- POSIX utils: grep, find, etc.
|
|
|
|
|
|
|
|
To deploy:
|
|
|
|
|
|
|
|
- ssh
|
|
|
|
- rsync
|
|
|
|
- zstd
|
|
|
|
|
|
|
|
To lint:
|
|
|
|
|
|
|
|
- stylelint
|
|
|
|
- csslint
|
|
|
|
- [webhint CLI](https://github.com/webhintio/hint)
|
|
|
|
- [lychee](https://github.com/lycheeverse/lychee)
|
|
|
|
|
2020-12-24 05:51:47 +00:00
|
|
|
To test in CI, after deploying to the staging environment:
|
|
|
|
|
|
|
|
- webhint CLI
|
|
|
|
- [lighthouse-ci](https://github.com/GoogleChrome/lighthouse-ci)
|
|
|
|
|
|
|
|
See the `Makefile` for details. The CI saves lighthouse reports as a build artifact.
|