| author | Thorsten Ortlepp
<post@ortlepp.eu> 2024-12-10 22:29:54 UTC |
| committer | Thorsten Ortlepp
<post@ortlepp.eu> 2024-12-10 22:29:54 UTC |
| parent | f86e8490a87343d20db3019fbd12d14f4e575730 |
| .gitmodules | +3 | -0 |
| README.md | +17 | -0 |
| hugo.toml | +1 | -0 |
| themes/.gitkeep | +0 | -0 |
| themes/PaperMod | +1 | -0 |
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..89af1b0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/README.md b/README.md index 55f6cf5..b9aa8c4 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,20 @@ Website ortlepp.ms This repository contains the sources of my website ortlepp.ms +Theme +----- + +The website uses "PaperMod", see https://github.com/adityatelange/hugo-PaperMod/ + +INSTALL : Inside the folder of your Hugo site run: + +``` +git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod +git submodule update --init --recursive # needed when you reclone your repo (submodules may not get cloned automatically) +``` + +UPDATE: Inside the folder of your Hugo site run: + +``` +git submodule update --remote --merge +``` diff --git a/hugo.toml b/hugo.toml index 8629196..46f1dfc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,4 @@ baseURL = 'https://preview.ortlepp.ms/' languageCode = 'en-us' title = 'My New Hugo Site' +theme = 'PaperMod' diff --git a/themes/.gitkeep b/themes/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/themes/PaperMod b/themes/PaperMod new file mode 160000 index 0000000..3e53621 --- /dev/null +++ b/themes/PaperMod @@ -0,0 +1 @@ +Subproject commit 3e5362100777a9426e05ef30e972800cabb54f21