Revert "Update"
Some checks failed
continuous-integration/drone/push Build is failing

This reverts commit c001ba0c86.
This commit is contained in:
Valentin Brandl 2024-07-14 16:30:01 +02:00
parent c001ba0c86
commit e3bed3abf1
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
5 changed files with 10 additions and 16 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/after-dark"]
path = themes/after-dark
url = https://git.habd.as/comfusion/after-dark.git

View File

@ -1,6 +0,0 @@
:80
root * /data
file_server {
precompressed gzip
}

View File

@ -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

View File

@ -14,7 +14,7 @@
{{ range .Pages }}
<li>
<span>{{ .Date.Format "02 Jan" }}</span>
<a href="{{ .Permalink }}" id="{{ .File.UniqueID }}" alt="{{ .Title }}">{{ .Title | markdownify }}</a>
<a href="{{ .Permalink }}" id="{{ .UniqueID }}" alt="{{ .Title }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>

@ -1 +1 @@
Subproject commit d20464c5c8ee00297f46ab729bfca4a12aaf4ba3
Subproject commit 93f4deab3ab201856577ed2cc95cd6eb98e42ba2