From ec9f508989f177b9bf812f29c7f91f437aea6865 Mon Sep 17 00:00:00 2001 From: weru <onewesh@gmail.com> Date: Thu, 08 Oct 2020 11:56:28 +0000 Subject: [PATCH] update --- exampleSite/content/docs/clarity/getting-started.md | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/docs/clarity/getting-started.md b/exampleSite/content/docs/clarity/getting-started.md index 55dc102..d15407f 100644 --- a/exampleSite/content/docs/clarity/getting-started.md +++ b/exampleSite/content/docs/clarity/getting-started.md @@ -47,6 +47,8 @@ This option enables you to load this theme as a hugo module. It arguably requires the least effort to run and maintain in your website. +First things first, ensure you have `go` binary [installed on your machine](https://golang.org/doc/install). + ```bash git clone https://github.com/chipzoller/hugo-clarity.git clarity cd clarity/exampleSite/ @@ -60,8 +62,6 @@ hugo server ``` -> There's one drawback to this technique. Your site will always use the most up-to-date version of the theme. This might break your site if there are substantial / breaking changes that you don't like. - -You can work around this forking the repo instead and following the same approach. Be sure the edit `theme = ["github.com/chipzoller/hugo-clarity"]` from the config.toml file to `theme = ["github.com/yourUsername/hugo-clarity"]`. +To pull in theme updates, run `hugo mod get -u ./...` from the theme folder. If unsure, [learn how to update hugo modules](https://gohugo.io/hugo-modules/use-modules/#update-modules) > There [is more you could do with hugo modules](https://discourse.gohugo.io/t/hugo-modules-for-dummies/20758), but this will suffice for our use case here. -- Gitblit v1.10.0