diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2c8976e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/after-dark"] + path = themes/after-dark + url = https://git.habd.as/comfusion/after-dark.git diff --git a/Caddyfile b/Caddyfile deleted file mode 100644 index 43b3438..0000000 --- a/Caddyfile +++ /dev/null @@ -1,6 +0,0 @@ -:80 - -root * /data -file_server { - precompressed gzip -} diff --git a/Dockerfile b/Dockerfile index 07f5f4e..e01b642 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -FROM klakegg/hugo:alpine as build -# FROM klakegg/hugo:0.56.3-alpine as build +FROM klakegg/hugo:0.56.3-alpine as build WORKDIR /usr/src/build COPY ./ ./ RUN apk --no-cache add --update make @@ -21,10 +20,8 @@ RUN hugo && \ # Stage: Run -FROM caddy -# FROM nginx:alpine -# RUN rm /usr/share/nginx/html/* -COPY Caddyfile /etc/caddy/Caddyfile -COPY ./.well-known/ /data/.well-known -COPY --from=build /usr/src/build/public /data +FROM nginx:alpine +RUN rm /usr/share/nginx/html/* +COPY --from=build /usr/src/build/public /usr/share/nginx/html/ +COPY ./.well-known/ /usr/share/nginx/html/.well-known EXPOSE 80 diff --git a/layouts/archive/single.html b/layouts/archive/single.html index 82171a1..046ac2f 100644 --- a/layouts/archive/single.html +++ b/layouts/archive/single.html @@ -14,7 +14,7 @@ {{ range .Pages }}