From a7b72fc6a917f839654be0c63ba41b1670237988 Mon Sep 17 00:00:00 2001 From: B Kleinen Date: Thu, 23 Sep 2021 10:38:20 +0200 Subject: [PATCH] add hero theme as submodule --- .gitmodules | 3 +++ README.MD | 13 +++++++++++++ config.toml | 4 ++-- themes/hugo-hero-theme | 1 + 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 README.MD create mode 160000 themes/hugo-hero-theme diff --git a/.gitmodules b/.gitmodules index e69de29..1025a5a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-hero-theme"] + path = themes/hugo-hero-theme + url = git@github.com:seuh2022/hugo-hero-theme.git diff --git a/README.MD b/README.MD new file mode 100644 index 0000000..5d2850b --- /dev/null +++ b/README.MD @@ -0,0 +1,13 @@ +# About the SEUH 2022 Website + + + +## Theme + +The SEUH 2022 Website is based on the +[Hero Hugo Theme](https://themes.gohugo.io/themes/hugo-hero-theme/), on GitHub: +[zerostaticthemes/hugo-hero-theme: A multi-page Hugo theme with fullscreen hero images and fullwidth sections.](https://github.com/zerostaticthemes/hugo-hero-theme) + +Based on a fork in [seuh2022/hugo-hero-theme](https://github.com/seuh2022/hugo-hero-theme), after +reading this article: +[Using git submodule for Hugo themes - Don't Panic](https://www.andrewhoog.com/post/git-submodule-for-hugo-themes/) diff --git a/config.toml b/config.toml index f1927d0..0b8cd06 100644 --- a/config.toml +++ b/config.toml @@ -1,14 +1,14 @@ baseURL = "www.example.com" languageCode = "en-us" title = "Hugo Hero Theme" -themesDir = "../.." +# themesDir = "../.." theme = "hugo-hero-theme" [module] [module.hugoVersion] extended = true min = "0.55.0" - + [params] google_analytics_id="" diff --git a/themes/hugo-hero-theme b/themes/hugo-hero-theme new file mode 160000 index 0000000..8c7e75f --- /dev/null +++ b/themes/hugo-hero-theme @@ -0,0 +1 @@ +Subproject commit 8c7e75f28503d4253f32564a61939a7d36e1a792