From 8506c7dd45b8f885be1b381bdca12f5c54eab3fb Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Sat, 16 May 2020 00:38:18 +0000 Subject: [PATCH] Pull in my changes to pickles theme from my fork. --- .gitmodules | 4 +-- Makefile | 6 ++-- layouts/_default/li.html | 16 --------- layouts/_default/single.html | 57 --------------------------------- layouts/partials/header.html | 20 ------------ layouts/partials/timestamp.html | 3 ++ themes/pickles | 2 +- 7 files changed, 10 insertions(+), 98 deletions(-) delete mode 100755 layouts/_default/li.html delete mode 100755 layouts/_default/single.html delete mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/timestamp.html diff --git a/.gitmodules b/.gitmodules index 2152082..f7eae03 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "themes/pickles"] path = themes/pickles - url = https://github.com/mismith0227/hugo_theme_pickles - branch = release + url = git@github.com:annabunches/hugo_theme_pickles.git + branch = develop diff --git a/Makefile b/Makefile index 67e418d..43bc36b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ DOCKER_IMAGE := cr.annabunch.es/annabunches-static +DOCKER_TAG := latest .PHONY: all build push @@ -8,7 +9,8 @@ serve: hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/ build: - docker build -t ${DOCKER_IMAGE} . + # TODO: figure out why this always uses the cache on the last step... + docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . push: - docker push ${DOCKER_IMAGE} + docker push ${DOCKER_IMAGE}:${DOCKER_TAG} diff --git a/layouts/_default/li.html b/layouts/_default/li.html deleted file mode 100755 index 5c65bf3..0000000 --- a/layouts/_default/li.html +++ /dev/null @@ -1,16 +0,0 @@ -
-
-

{{ .Title }}

- -
-
- {{ .Summary | plainify | safeHTML }} -
- {{ if .Truncated }} - Read more - {{ end }} -
diff --git a/layouts/_default/single.html b/layouts/_default/single.html deleted file mode 100755 index 2b594d8..0000000 --- a/layouts/_default/single.html +++ /dev/null @@ -1,57 +0,0 @@ -{{ partial "header.html" . }} -{{ $baseurl := .Site.BaseURL | sanitizeurl }} -
-
-

{{ .Title }}

-
-
- -
- {{ range .Params.tags }} - {{ . }} - {{ end }} -
-
- {{ with .Params.thumbnail }} - thumbnail - {{ end }} -
- {{ .Content }} -
-
- {{ with ($.Param "disqus") }} -
- - - {{ end }} - - {{ partial "related.html" . }} - {{ partial "siteinfo.html" . }} -
-
-{{ partial "footer.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html deleted file mode 100644 index 917ed75..0000000 --- a/layouts/partials/header.html +++ /dev/null @@ -1,20 +0,0 @@ - - -{{ partial "head.html" . }} - - - {{ partial "svgpack-sprite.html" . }} - - {{- partial "header_custom.html" . }} -
diff --git a/layouts/partials/timestamp.html b/layouts/partials/timestamp.html new file mode 100644 index 0000000..48e518f --- /dev/null +++ b/layouts/partials/timestamp.html @@ -0,0 +1,3 @@ + diff --git a/themes/pickles b/themes/pickles index 2a618dd..14773c1 160000 --- a/themes/pickles +++ b/themes/pickles @@ -1 +1 @@ -Subproject commit 2a618dda48359315eda03be2816dc52a901978d9 +Subproject commit 14773c1e234d4980647f1e38f4b3cb090b2d379f