Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

jackyzha0/website-v2

Repository files navigation

This repository has been archived.

All new changes can be found back on https://github.com/jackyzha0/jackyzha0.github.io

github pages

✨ Personal Site v2.0

powered by Hugo and Go Templates

Built with lite.css, Hugo, and plain HTML/JS/CSS.

Why I switched

I got tired of adding divs 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.

Where is everything

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!

Getting it to work

Run hugo server to start up a local version of the site at localhost:1313. To rebuild, run hugo. If pushing, run ./deploy.sh

Can I use use your site as a template?

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.

About

✨ now with templating and other cool stuff ✨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published