forked from data.coop/website
Upgrade to hugo 0.80.0.
This commit is contained in:
parent
cdb3904a9e
commit
902b6d66d7
|
@ -7,7 +7,7 @@ steps:
|
|||
commands:
|
||||
- apt-get update; apt-get upgrade
|
||||
- apt-get install -y wget
|
||||
- wget https://github.com/gohugoio/hugo/releases/download/v0.69.2/hugo_extended_0.69.2_Linux-64bit.deb -O hugo.deb
|
||||
- wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.deb -O hugo.deb
|
||||
- dpkg -i hugo.deb
|
||||
- hugo --destination _site/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
other = "Home"
|
||||
|
||||
[generated_date]
|
||||
other = "Generateret med Hugo d. {{ .Count }}"
|
||||
other = "Generateret med Hugo d. {{ . }}"
|
||||
|
||||
[services_status]
|
||||
other = "Tjeneste Status"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
other = "Home"
|
||||
|
||||
[generated_date]
|
||||
other = "Generated by Hugo on {{ .Count }}"
|
||||
other = "Generated by Hugo on {{ . }}"
|
||||
|
||||
[services_status]
|
||||
other = "Services Status"
|
||||
|
|
|
@ -47,9 +47,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
{{ partial "mastodon-js.html" . }}
|
||||
|
||||
|
||||
{{ partial "bootstrap-js.html" . }}
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{{ if ($.Page.Scratch.Get "include_mastodon") "true" }}
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
{{ end }}
|
|
@ -1,9 +0,0 @@
|
|||
{{ .Page.Scratch.Set "include_mastodon" true }}
|
||||
{{ $width := .Get "width" | default "400" }}
|
||||
{{ $height := .Get "height" | default "333"}}
|
||||
{{ $status := .Get "status" | default "false" }}
|
||||
|
||||
{{ if eq ($status) "false" }}
|
||||
{{ else }}
|
||||
<iframe src= "{{ $status }}/embed" class="mastodon-embed" style="max-width: 100%; border: 0" width="{{ $width }}" height="{{ $height }}"></iframe>
|
||||
{{ end }}
|
Loading…
Reference in a new issue