Update for Hugo 0.111.1
This commit is contained in:
parent
7d48887c9d
commit
cce4e7c880
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,6 +5,7 @@
|
||||||
# Hugo stuff
|
# Hugo stuff
|
||||||
public
|
public
|
||||||
resources
|
resources
|
||||||
|
.hugo_build.lock
|
||||||
|
|
||||||
# From docker build
|
# From docker build
|
||||||
_site
|
_site
|
||||||
|
|
|
@ -3,5 +3,5 @@ FROM debian:buster-slim
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get install -y wget git && \
|
apt-get install -y wget git && \
|
||||||
wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.deb -O hugo.deb && \
|
wget https://github.com/gohugoio/hugo/releases/download/v0.111.1/hugo_extended_0.111.1_linux-amd64.deb -O hugo.deb && \
|
||||||
dpkg -i hugo.deb
|
dpkg -i hugo.deb
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<ol>
|
<ol>
|
||||||
{{ $currentPage := . }}
|
{{ $currentPage := . }}
|
||||||
{{ range .Site.Menus.nav }}
|
{{ range .Site.Menus.nav }}
|
||||||
{{ $atURL := absURL $currentPage.URL }}
|
{{ $atURL := absURL $currentPage.RelPermalink }}
|
||||||
{{ $compURL := absURL .URL }}
|
{{ $compURL := absURL .URL }}
|
||||||
<li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a></li>
|
<li><a href="{{ .URL }}"{{ if (eq $atURL $compURL) }} class="active"{{ end }}>{{ .Name }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue