Skip to content

shipengqi/golang-learn

Repository files navigation

golang-learn

Go learning ...

Usage

Initialize project as a Hugo Module using the hugo mod init command:

hugo mod init github.com/shipengqi/golang-learn

Adding the Hextra theme:

baseURL: "https://shipengqi.github.io/golang-learn"
title: "Golang Learning"

module:
  imports:
    - path: github.com/imfing/hextra

Start server:

hugo server -D

Manually deploy:

./deploy.sh

Any changes in the content directory will automatically trigger a deployment.

Update Theme

To update all Hugo modules in your project to their latest versions, run the following command:

hugo mod get -u

To update Hextra to the latest released version, run the following command:

hugo mod get -u github.com/imfing/hextra

Releases

No releases published

Packages

No packages published