From 902b6d66d779d41276d1517dcb13761374318943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 26 Jan 2021 20:10:02 +0100 Subject: [PATCH] Upgrade to hugo 0.80.0. --- .drone.yml | 2 +- i18n/da.toml | 2 +- i18n/en.toml | 2 +- themes/datacoop2020/layouts/_default/baseof.html | 3 --- themes/datacoop2020/layouts/partials/mastodon-js.html | 3 --- themes/datacoop2020/layouts/shortcodes/mastodon.html | 9 --------- 6 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 themes/datacoop2020/layouts/partials/mastodon-js.html delete mode 100644 themes/datacoop2020/layouts/shortcodes/mastodon.html diff --git a/.drone.yml b/.drone.yml index 4cadbc9..478d478 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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/ diff --git a/i18n/da.toml b/i18n/da.toml index ec4fdb5..7d2844a 100644 --- a/i18n/da.toml +++ b/i18n/da.toml @@ -2,7 +2,7 @@ other = "Home" [generated_date] -other = "Generateret med Hugo d. {{ .Count }}" +other = "Generateret med Hugo d. {{ . }}" [services_status] other = "Tjeneste Status" diff --git a/i18n/en.toml b/i18n/en.toml index 0d4c50d..2bfcee4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -2,7 +2,7 @@ other = "Home" [generated_date] -other = "Generated by Hugo on {{ .Count }}" +other = "Generated by Hugo on {{ . }}" [services_status] other = "Services Status" diff --git a/themes/datacoop2020/layouts/_default/baseof.html b/themes/datacoop2020/layouts/_default/baseof.html index 5f3e284..d135724 100644 --- a/themes/datacoop2020/layouts/_default/baseof.html +++ b/themes/datacoop2020/layouts/_default/baseof.html @@ -47,9 +47,6 @@ -{{ partial "mastodon-js.html" . }} - - {{ partial "bootstrap-js.html" . }} diff --git a/themes/datacoop2020/layouts/partials/mastodon-js.html b/themes/datacoop2020/layouts/partials/mastodon-js.html deleted file mode 100644 index ac77131..0000000 --- a/themes/datacoop2020/layouts/partials/mastodon-js.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ if ($.Page.Scratch.Get "include_mastodon") "true" }} - -{{ end }} diff --git a/themes/datacoop2020/layouts/shortcodes/mastodon.html b/themes/datacoop2020/layouts/shortcodes/mastodon.html deleted file mode 100644 index 71060e0..0000000 --- a/themes/datacoop2020/layouts/shortcodes/mastodon.html +++ /dev/null @@ -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 }} - -{{ end }} \ No newline at end of file