Powered by Kube+Hugo.
Deploy using the script deploy.sh "Your optional commit message" (full guide available here).
This will need to be adjusted for pull requests.
# Install Hugo
brew install hugo
# Clone the repo
git clone https://github.com/healthengineau/blog.git
# Start the webserver
hugo server -wYou can add multiple content types (see Configuring the Website), but you'll want to use the blog type (nested inside the blogs directory). It's best to date them (year-month-day), purely so they appear neatly in order on GitHub.
Creating
hugo new --kind blog blog/2020-03-24-my-awesome-new-blog.mdEach blog is generated with a snippet of metadata called Front Matter. For example:
+++
title = ""
description = ""
date = 2019-07-18T14:53:26+08:00
weight = 20
draft = false
+++
You'll need to fill out the:
titledescription
and optionally you'll want to add yourself as the author: author = "Your Name"
hugo new --kind docs docs/my-new-doc.mdOther supported types are:
faq- Frequently Asked Questionscompany- Information about the companysign-in- This one's pretty obvious
Please read https://themes.gohugo.io/kube/ for full details on how to configure