My personal website: victorszeto.com. Built mostly with jQuery, HTML and SASS. app
contains the source code, blog
contains the wintersmith blog source, and dist
contains production files. Some zen (read: premature) optimization with minifying the files and HTML using gulp tasks. Unnecessary, but it's fun to see the filesizes shrink.
If you want to read the source, the main interesting parts are in app/index.html
and app/scripts/app.js
.
The site is hosted on Github pages, I use git-subtree to push source code to the dev
branch and only the dist
folder to master. I use Cloudflare for DNS hosting, apparently their CNAME flattening feature makes it so Github pages that are hosted on apex domains (i.e. victorszeto.com
, not www.victorzeto.com
) don't get bounced around on redirects. So there's that.
git clone git@github.com:VictorVation/victorvation.github.io.git
cd victorvation.github.io
npm install && cd blog && npm install
- Build and package files:
gulp
to build the files intodist
git commit -am
to commit all changes & built files- Deploy the site:
git subtree push --prefix dist origin master
to push thedist
folder to master. - Push the source to Github:
git push origin dev
.