Built using my fork of Louis Barranqueiro's hexo theme tranquilpeak, using static site engine Hexo.
All files on the main branch are used as source files for Hexo to be able to build my website. The build is then deployed on the gh-pages branch.
My fork of tranquilpeak is used as the theme of the blog in a separate repo located under themes/bmitchinson_tranquilpeak
.
It's easy to do, and a great way to learn hexo and it's common theme structure.
Make sure to clone using git clone --recurse-submodules https://github.com/bmitchinson/Mitchinson.dev.git
in order to
simultaneously clone my fork of the tranquilpeak theme, as the markdown relies on it.
(From the main branch) Run:
npm i
@ root dirnpm i
@ themes/bmitchinson_tranquilpeaknpm start
@ themes/bmitchinson_tranquilpeak (to build the theme)npm start
@ root dir (to generate the site and serve it locally)
This gives you a version of the site at localhost:4000
for tinkering 👍