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
|
WORKDIR /usr/src/build
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN apk --no-cache add --update make
|
RUN apk --no-cache add --update make
|
||||||
@ -21,10 +20,8 @@ RUN hugo && \
|
|||||||
|
|
||||||
# Stage: Run
|
# Stage: Run
|
||||||
|
|
||||||
FROM caddy
|
FROM nginx:alpine
|
||||||
# FROM nginx:alpine
|
RUN rm /usr/share/nginx/html/*
|
||||||
# RUN rm /usr/share/nginx/html/*
|
COPY --from=build /usr/src/build/public /usr/share/nginx/html/
|
||||||
COPY Caddyfile /etc/caddy/Caddyfile
|
COPY ./.well-known/ /usr/share/nginx/html/.well-known
|
||||||
COPY ./.well-known/ /data/.well-known
|
|
||||||
COPY --from=build /usr/src/build/public /data
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<li>
|
<li>
|
||||||
<span>{{ .Date.Format "02 Jan" }}</span>
|
<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>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d20464c5c8ee00297f46ab729bfca4a12aaf4ba3
|
Subproject commit 93f4deab3ab201856577ed2cc95cd6eb98e42ba2
|
Loading…
Reference in New Issue
Block a user