aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--README.md17
-rw-r--r--hugo.toml1
-rw-r--r--themes/.gitkeep0
m---------themes/PaperMod0
5 files changed, 21 insertions, 0 deletions
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
--- a/themes/.gitkeep
+++ /dev/null
diff --git a/themes/PaperMod b/themes/PaperMod
new file mode 160000
+Subproject 3e5362100777a9426e05ef30e972800cabb54f2