This reverts commit c001ba0c86
.
This commit is contained in:
parent
c001ba0c86
commit
e3bed3abf1
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "themes/after-dark"]
|
||||
path = themes/after-dark
|
||||
url = https://git.habd.as/comfusion/after-dark.git
|
13
Dockerfile
13
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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user