From 863c77aafd6a04747c0206dd0623bdee7ba9748b Mon Sep 17 00:00:00 2001 From: Ben Bridts Date: Sun, 17 May 2020 14:54:22 +0200 Subject: [PATCH] Add theme as git submodule --- .gitmodules | 3 +++ README.md | 6 +++++- site/themes/hugo-theme-learn | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 site/themes/hugo-theme-learn diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c3332a9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "site/themes/hugo-theme-learn"] + path = site/themes/hugo-theme-learn + url = https://github.com/matcornic/hugo-theme-learn.git diff --git a/README.md b/README.md index fe79b24..d6b41a5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,11 @@ This workshop teaches you best practices for using ECS Fargate. It has three in * Operations * Data engineering -The full documentation is available in the `site` folder, and is best viewed with [Hugo](https://learn.netlify.app/en/basics/). You can run Hugo locally by downloading Hugo for your platform, going to the `site` folder, and running `hugo serve`. +The full documentation is available in the `site` folder, and is best viewed with [Hugo](https://learn.netlify.app/en/basics/). You can run Hugo locally by following these steps: + +1. Download all dependencies by running `git submodule init` and `git submodule update`. If you run this a second time, you only have to do the latter. +2. Downloading Hugo for your platform. +3. Go to the `site` folder, and run `hugo serve`. ## License Summary diff --git a/site/themes/hugo-theme-learn b/site/themes/hugo-theme-learn new file mode 160000 index 0000000..d4abb3c --- /dev/null +++ b/site/themes/hugo-theme-learn @@ -0,0 +1 @@ +Subproject commit d4abb3c9a103bdd14e82184f76463a02755ee070