From 637183e297e66c0aa47a0d46fc7b92563452fd7b Mon Sep 17 00:00:00 2001 From: Thorsten Ortlepp Date: Tue, 10 Dec 2024 23:29:54 +0100 Subject: added theme PaperMod --- .gitmodules | 3 +++ README.md | 17 +++++++++++++++++ hugo.toml | 1 + themes/.gitkeep | 0 themes/PaperMod | 1 + 5 files changed, 22 insertions(+) create mode 100644 .gitmodules delete mode 100644 themes/.gitkeep create mode 160000 themes/PaperMod 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 -- cgit v1.2.3