From a925d53b2b225eccd82f873906d8f9619fd23b78 Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 25 Mar 2020 14:38:21 +0100 Subject: [PATCH] feat: Add theme --- .gitmodules | 3 +++ README.md | 7 +++++++ config.toml | 1 + themes/hugo-theme-lowtech | 1 + 4 files changed, 12 insertions(+) create mode 100644 .gitmodules create mode 160000 themes/hugo-theme-lowtech diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2f4ba12 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-theme-lowtech"] + path = themes/hugo-theme-lowtech + url = https://gitea.lamelio.fr/kosssi/hugo-theme-lowtech.git diff --git a/README.md b/README.md index 912e0f7..91b2f89 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,10 @@ hugo new site lestoitsduval cd lestoitsduval git init ``` + +Ajout du thème : + +```sh +cd themes +git submodule add https://gitea.lamelio.fr/kosssi/hugo-theme-lowtech.git +``` diff --git a/config.toml b/config.toml index ea88ca1..5b0bce5 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,4 @@ baseURL = "https://lestoitsduval.fr/" languageCode = "fr-fr" title = "Les Toits du Val" +theme = "hugo-theme-lowtech" diff --git a/themes/hugo-theme-lowtech b/themes/hugo-theme-lowtech new file mode 160000 index 0000000..70e86df --- /dev/null +++ b/themes/hugo-theme-lowtech @@ -0,0 +1 @@ +Subproject commit 70e86dfd2359eaffbb2eec896a485c930355f42d