Browse Source

Update Hugo

master
Chris Smith 5 years ago
parent
commit
6155da3d1d
2 changed files with 2 additions and 2 deletions
  1. 1
    2
      Dockerfile
  2. 1
    0
      site/content/index/index.md

+ 1
- 2
Dockerfile View File

@@ -7,14 +7,13 @@ RUN apt-get -qq update \
7 7
 	&& DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends python-pygments git ca-certificates asciidoc \
8 8
 	&& rm -rf /var/lib/apt/lists/*
9 9
 
10
-ENV HUGO_VERSION 0.26
10
+ENV HUGO_VERSION 0.53
11 11
 ENV HUGO_BINARY hugo_${HUGO_VERSION}_Linux-64bit.deb
12 12
 
13 13
 ADD https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
14 14
 RUN dpkg -i /tmp/hugo.deb \
15 15
 	&& rm /tmp/hugo.deb
16 16
 
17
-USER nobody:nogroup
18 17
 ADD site /tmp/site
19 18
 RUN hugo -b https://www.chameth.com/ -v -s /tmp/site -d /tmp/hugo && \
20 19
 	cp /tmp/hugo/index.xml /tmp/hugo/feed.xml

+ 1
- 0
site/content/index/index.md View File

@@ -1,4 +1,5 @@
1 1
 ---
2 2
 title: Content listing
3 3
 url: /index/
4
+type: index
4 5
 ---

Loading…
Cancel
Save