From 171399889dc0b300f8bb0b0f7ecf1c424533ef74 Mon Sep 17 00:00:00 2001 From: Xin Date: Sat, 2 Sep 2023 16:02:21 +0100 Subject: [PATCH] docs: add instruction to update theme --- exampleSite/content/docs/getting-started.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/exampleSite/content/docs/getting-started.md b/exampleSite/content/docs/getting-started.md index 1c99db20..af1b3ede 100644 --- a/exampleSite/content/docs/getting-started.md +++ b/exampleSite/content/docs/getting-started.md @@ -73,6 +73,21 @@ Voila! You can see your new site at `http://localhost:1313/`. {{% /steps %}} +## Update Theme + +{{% details title="How to update theme?" %}} + +To update the theme to the [latest released version](https://github.com/imfing/hextra/releases), run the following command: + +```shell +$ hugo mod get -u +``` + +See [Hugo Modules](https://gohugo.io/hugo-modules/use-modules/#update-all-modules) for more details. + +{{% /details %}} + + ## Next Explore the following sections to start adding more contents: