From 8d564228dc6e0ab1889dff008fb762c789381097 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 13 Sep 2023 01:51:48 +0000 Subject: [PATCH] In this house we require root access to run docker commands. --- Makefile | 4 ++-- archetypes/default.md | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 69d5167..51df5eb 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ serve: hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/ build: - docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . + sudo docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . push: - docker push ${DOCKER_IMAGE}:${DOCKER_TAG} + sudo docker push ${DOCKER_IMAGE}:${DOCKER_TAG} diff --git a/archetypes/default.md b/archetypes/default.md index e81e7bb..84818ca 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,9 @@ --- title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} +author: "Anna" +date: {{ .Date | .dateFormat (.Site.Params.dateformat)" }} draft: true +tags: + - tag1 ---