Blog Source (https://htr3n.github.io)
This is the source of my blog hosted at github.io. I use Hugo with the theme hyde-hyde
that I created to generate the static resources (HTML, JS, CSS, etc.) and use Gulp with some simple tasks for minifying and setting up other resources (e.g. Keybase).
Install the NPM dependencies
yarn install # npm install
Look into the file package.json
for the following commands and adapt them to your need. You might need to adjust the baseURL
value.
yarn local # npm run local
yarn watch # npm run watch
Hugo will generate drafts and future posts for the localhost https://localhost:1313 and keep an eye on any file changes and refresh the pages accordingly.
Hugo will generate the posts excluding drafts and futures for the configured baseURL
, e.g. 'https://htr3n.github.io'.
yarn deploy # npm run deploy
MIT, of course.