All new changes can be found back on https://github.com/jackyzha0/jackyzha0.github.io
Built with lite.css, Hugo, and plain HTML/JS/CSS.
I got tired of adding div
s and other stuff manually everytime I wanted to update a project / add new stuff, so I decided to something more powerful that supports templating to do it for me automatically.
You can find the 'main' index.html
under layouts/index.html
. Shortened from 284 lines to just 65! It now just references a bunch of partial
blocks which you can find all over layouts/partials
. These are all reused components from the old static site, except all the details are now filled in using data files found in data
. So now, I can just edit stuff in data
and generate new stuff for my site!
Run hugo server
to start up a local version of the site at localhost:1313
. To rebuild, run hugo
. If pushing, run ./deploy.sh
I spent a lot of time on this website so if you plan on using this website as a template or base for your own personal site, I kindly ask you to credit me somewhere within the GitHub repository or on the actual site itself if you intend to not release the source code.
TLDR; yes, but please credit me somwhere.