From 0277890db37b62672606749015809ba7923fbcd8 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 3 Jul 2024 16:00:18 +0000 Subject: [PATCH] Update site to use the latest version of our theme. This requires stuffing our local dev into a docker container because the latest hugo breaks the theme. --- Makefile | 2 +- hugo.toml | 4 ++- layouts/page/single.html | 51 --------------------------------------- themes/hugo_theme_pickles | 2 +- 4 files changed, 5 insertions(+), 54 deletions(-) delete mode 100755 layouts/page/single.html diff --git a/Makefile b/Makefile index 611e8fa..c302e52 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ DOCKER_TAG := latest all: serve serve: - hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/ + sudo docker run --rm -it -p 1313:1313 -v ${PWD}:/src/ klakegg/hugo serve -D -b http://${DEV_IP}:1313/ build: sudo docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . diff --git a/hugo.toml b/hugo.toml index 3f73db5..3ae5801 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,7 +2,7 @@ baseurl = "https://annabunches.net/" languageCode = "en-us" theme = "hugo_theme_pickles" Title = "Anna and the Bunches" -copyright = "© Anna Wiggins, 2006-2023" +copyright = "© Anna Wiggins, 2006-2024" # Google Analytics API key. googleAnalytics = "G-QFK0K7MGCJ" @@ -11,6 +11,8 @@ googleAnalytics = "G-QFK0K7MGCJ" paginate = 10 custom_css = ["/css/custom.css", "/css/spoiler.css"] dateFormat = "2006-01-02" + hideWordCount = true + hideReadingtime = true # Disqus shortname # disqus = "" # author = "Your Name" diff --git a/layouts/page/single.html b/layouts/page/single.html deleted file mode 100755 index 717e32f..0000000 --- a/layouts/page/single.html +++ /dev/null @@ -1,51 +0,0 @@ -{{ partial "header.html" . }} -{{ $baseurl := .Site.BaseURL | sanitizeurl }} -
-
-
- {{ range .Params.tags }} - {{ . }} - {{ end }} -
-
- {{ with .Params.thumbnail }} - thumbnail - {{ end }} -
- {{ .Content }} -
- -
-{{ partial "footer.html" . }} diff --git a/themes/hugo_theme_pickles b/themes/hugo_theme_pickles index e3b33f2..cefcae5 160000 --- a/themes/hugo_theme_pickles +++ b/themes/hugo_theme_pickles @@ -1 +1 @@ -Subproject commit e3b33f2711edb23129ea2baf0b1604c2f2978ce0 +Subproject commit cefcae57251c2707a07bc5f9c579feeea77b1e6c