diff --git a/.gitmodules b/.gitmodules index 630602f..e1c1da0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "content/themes/paper"] path = content/themes/paper url = https://github.com/nanxiaobei/hugo-paper +[submodule "content/themes/ananke"] + path = content/themes/ananke + url = https://github.com/theNewDynamic/gohugo-theme-ananke.git diff --git a/Dockerfile b/Dockerfile index 6865e9b..7d2dc57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # builder -FROM hugomods/hugo:std-base-non-root AS builder +FROM hugomods/hugo:base-non-root AS builder ARG BASE_URL "" COPY content/ /src RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi diff --git a/content/hugo.toml b/content/hugo.toml index e6f6e50..c211184 100644 --- a/content/hugo.toml +++ b/content/hugo.toml @@ -1,4 +1,4 @@ baseURL = 'https://example.org/' languageCode = 'en-us' title = 'My New Hugo Site' -theme = "paper" +theme = "ananke" diff --git a/content/themes/ananke b/content/themes/ananke new file mode 160000 index 0000000..0ba75ea --- /dev/null +++ b/content/themes/ananke @@ -0,0 +1 @@ +Subproject commit 0ba75ea1e50ad5ddcaeb25f02bef64448ad42891