This reverts commit c001ba0c86
.
This commit is contained in:
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>
|
||||
|
Submodule themes/after-dark updated: d20464c5c8...93f4deab3a
Reference in New Issue
Block a user