* prepare dark mode stuffs * themed all global colors * store preference in local storage * toggle styling * lightbulb position * minify bundled script with uglify-js instead of hugo * detect whether user has an OS-wide dark mode preference and use that by default * two different colors for each homepage link * inline bulb SVGs into stylesheet * fingerprint and cache styles for a year * fix lightbulb positioning with weird magic numbers, will come back to that * themed syntax highlighting * use terser instead of uglify-js (b/c of ES6)
🏡 jarv.is
Personal website of @jakejarvis, created and deployed using the following:
- Hugo Extended
- Netlify
- Simple Analytics (referral link)
- utteranc.es
- Twemoji
- ...and much more.
I keep an ongoing list of blog post ideas and coding to-dos as issues in this repo.
Running a local testing server
Using Yarn/NPM:
Run yarn install
(Yarn must be installed first, or use npm install
if you insist) and yarn start
(or npm start
), then open http://localhost:1337/. Pages will live-refresh when source files are changed.
Using Docker:
To ensure consistency and compatibility, the Dockerfile
in this repository will download the Hugo Extended binary and its dependencies, and start a live testing server.
docker build -t jarv.is -f Dockerfile .
docker run -v $(pwd):/src -p 1337:1337 jarv.is
...then open http://localhost:1337/.
Licenses
Site content (everything in content/notes
) is published under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), which means that you can copy, redistribute, remix, transform, and build upon the content for any purpose as long as you give appropriate credit.
All original code in this repository (like my Hugo theme) is published under the MIT License.
External assets include:
- Twemoji: Copyright (c) 2018 Twitter, Inc. and other contributors. Licensed under CC-BY-4.0.
- Inter: Copyright (c) 2016-2020 The Inter Project Authors. Licensed under the SIL Open Font License, Version 1.1.
- Hack: Copyright (c) 2018 Source Foundry Authors. Licensed under the MIT License.