From 202b251223cedd503203e91fe41eda49d361206b Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Sat, 18 Apr 2020 18:50:38 -0400 Subject: [PATCH] Updates to the logo, theme, etc. --- Makefile | 12 ++++++++---- config.yaml | 7 +++++-- content/about.md | 3 +++ 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 60ff7a0..5c2ec67 100644 --- a/Makefile +++ b/Makefile @@ -33,10 +33,14 @@ CLOUDFRONT_CMD=cloudfront create-invalidation --distribution-id ${DISTRIBUTION_I build: $(DOCKER_RUN) ${HUGO_IMAGE} +mount: + if [ ! -d "${STATIC_DIR}/static" ]; then aws s3 sync s3://bdebyl.static static/; fi + +unmount: + if [ -d "${STATIC_DIR}/static" ]; then rm -rfv static/ + run: - if [ ${MOUNT_BUCKET} ]; then s3fs -o use_path_request_style bdebyl.static ${STATIC_DIR}; fi - -$(DOCKER_RUN) -it ${DOCKER_PORT} ${HUGO_IMAGE} server --bind=0.0.0.0 - if [ -d "${STATIC_DIR}/static" ]; then fusermount -u ${STATIC_DIR}; fi + -$(DOCKER_RUN) -it ${DOCKER_PORT} ${HUGO_IMAGE} -D server --bind=0.0.0.0 version: $(DOCKER_RUN) ${HUGO_IMAGE} version @@ -57,5 +61,5 @@ cache: @$(DOCKER_RUN) ${AWS_ENV} ${AWS_IMAGE} ${CLOUDFRONT_CMD} # Default target for make (<=3.80) -.PHONY: static unmount build _run run version new clean deploy cache +.PHONY: static mount unmount build _run run version new clean deploy cache default: build diff --git a/config.yaml b/config.yaml index 10522eb..f6417ca 100644 --- a/config.yaml +++ b/config.yaml @@ -8,7 +8,9 @@ copyright: "" # default: author.name googleAnalytics: "" # UA-XXXXXXXX-X preserveTaxonomyNames: true enableRobotsTXT: true -buildDrafts: true +canonifyURLs: true +buildDrafts: false + # https://gohugo.io/content-management/syntax-highlighting/ pygmentsOptions: "" @@ -44,8 +46,9 @@ menu: url: "/tags/" params: + favicon: "static/img/favicon.svg" since: "2017" - logoImage: "/static/img/pubfpr.png" + logoImage: "/static/img/favicon.svg" logoTitle: "bdebyl" keywords: ["bastian", "de byl", "bdebyl", "bastian de byl"] description: "A random assortment of my personal projects." diff --git a/content/about.md b/content/about.md index 6b096c7..f6ebaba 100644 --- a/content/about.md +++ b/content/about.md @@ -1,3 +1,6 @@ +--- +title: "About" +--- # About I created this site as a way of showcasing my projects, or other general ideas. It's a sort of _engineering_ portfolio, if you will.