Upgrade to hugo 0.80.0.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Víðir Valberg Guðmundsson 2021-01-26 20:10:02 +01:00
parent cdb3904a9e
commit 902b6d66d7
6 changed files with 3 additions and 18 deletions

View file

@ -7,7 +7,7 @@ steps:
commands: commands:
- apt-get update; apt-get upgrade - apt-get update; apt-get upgrade
- apt-get install -y wget - 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 - dpkg -i hugo.deb
- hugo --destination _site/ - hugo --destination _site/

View file

@ -2,7 +2,7 @@
other = "Home" other = "Home"
[generated_date] [generated_date]
other = "Generateret med Hugo d. {{ .Count }}" other = "Generateret med Hugo d. {{ . }}"
[services_status] [services_status]
other = "Tjeneste Status" other = "Tjeneste Status"

View file

@ -2,7 +2,7 @@
other = "Home" other = "Home"
[generated_date] [generated_date]
other = "Generated by Hugo on {{ .Count }}" other = "Generated by Hugo on {{ . }}"
[services_status] [services_status]
other = "Services Status" other = "Services Status"

View file

@ -47,9 +47,6 @@
</div> </div>
{{ partial "mastodon-js.html" . }}
{{ partial "bootstrap-js.html" . }} {{ partial "bootstrap-js.html" . }}
</body> </body>

View file

@ -1,3 +0,0 @@
{{ if ($.Page.Scratch.Get "include_mastodon") "true" }}
<script src="https://mastodon.social/embed.js" async="async"></script>
{{ end }}

View file

@ -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 }}