From b58e941464443c1faf6211d3df4a0d2a0282a863 Mon Sep 17 00:00:00 2001 From: Xin Date: Sat, 31 May 2025 16:35:01 +0100 Subject: [PATCH] docs(getting-started): fix instructions for using git submodule --- exampleSite/content/docs/getting-started.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/exampleSite/content/docs/getting-started.md b/exampleSite/content/docs/getting-started.md index e25ca5c..bef559d 100644 --- a/exampleSite/content/docs/getting-started.md +++ b/exampleSite/content/docs/getting-started.md @@ -124,6 +124,15 @@ hugo new site my-site --format=yaml ### Add Hextra theme as a Git submodule +Switch to the site directory and initialize a new Git repository: + +```shell +cd my-site +git init +``` + +Then, add Hextra theme as a Git submodule: + ```shell git submodule add https://github.com/imfing/hextra.git themes/hextra ```