adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
10.26k stars 2.72k forks source link

[Bug]: Install Doc (in Wiki) needs minor update #1601

Closed VashJuan closed 1 week ago

VashJuan commented 2 months ago

What happened?

https://github.com/adityatelange/hugo-PaperMod/wiki/Installation in section "Expand Method 2 - Git Submodule (recommended)" the first step needs to be git init, otherwise the subsequent git commands will fail! image

Steps to reproduce

1 follow https://github.com/adityatelange/hugo-PaperMod/wiki/Installation

Hugo Version

Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod)

PaperMod Version

v7.0

What kind of devices are you seeing the problem on?

Desktop

What browsers are you seeing the problem on?

Firefox

Browser Version

No response

Relevant log output

PS D:\Projects\EOC.online\testHugo> cd myFreshwebsite
PS D:\Projects\EOC.online\testHugo\MyFreshWebsite> git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
fatal: not a git repository (or any of the parent directories): .git
PS D:\Projects\EOC.online\testHugo\MyFreshWebsite> git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically)
fatal: not a git repository (or any of the parent directories): .git
PS D:\Projects\EOC.online\testHugo\MyFreshWebsite> git submodule update --remote --merge
fatal: not a git repository (or any of the parent directories): .git

Repository/Source Code link where this issue can be reproduced

n/a

Code of Conduct