Skip to content
The [wip] source of my blog https://htr3n.github.io
CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes
assets/scss
content @ b577c41
dist @ a57261c
layouts
resources/_gen/assets/scss/scss
static
themes
.eslintrc.json
.gitignore
.gitmodules
LICENSE.md
README.md
config.toml
gulpfile.js
keybase.txt
package-lock.json
package.json
postcss.config.js
yarn.lock

README.md

Dependency Status devDependency Status Known Vulnerabilities License: MIT

Blog Source (https://htr3n.github.io)

This is the working-in-progress source of my blog hosted at github.io. The blog uses the static site generator Hugo with theme hyde-hyde. The generated and optimised site is hosted here.

Since Hugo v0.43+, I might not need the Gulp-based workflow as Hugo provides sufficient support for transforming SCSS to CSS, PostCSS, and minification. Nevertheless, due to some issues with messing up sourcemaps, I still keep the Gulp 4 based workflow as it just works flawlessly for now.

Note that, we still have to install external tools for Hugo 0.43+ extensions to work.

npm i -D postcss-cli autoprefixer

Quick Start

Install NPM packages

npm install

For Development and Debugging

Please have a look at package.json for the following commands and adapt them to your needs.

Generate pages for local hosting

npm run local

Hugo will generate draft and future posts for the baseURL https://blog.test:8443.

Generate pages and keep watching for changes

npm run watch

Hugo will generate draft and future posts for the localhost baseURL https://blog.test:8443 and keep an eye on any file changes and refresh the pages accordingly.

Generate pages for remote hosting

Hugo will generate the posts without draft and future for the baseURL https://htr3n.github.io (my site).

npm run deploy
You can’t perform that action at this time.