diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e874692 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM immawanderer/fedora-hugo:latest +RUN mkdir -pv /homepage +COPY . /homepage + +WORKDIR /homepage + +RUN git submodule init \ +&& git submodule update --recursive \ +&& hugo version +RUN hugo --minify --gc=true + +WORKDIR / + +FROM nginx +COPY --from=0 /homepage/public/ /usr/share/nginx/html diff --git a/config.toml b/config.toml index 63c29be..5e15c1d 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseurl = "https://dotya.ml" +baseurl = "/" languageCode = "en-us" defaultContentLanguage = "en" theme = "hermit" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e3a1474..90069af 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@