From f8c152b2a715c60726d57323834098f882196837 Mon Sep 17 00:00:00 2001 From: Duncan McGreggor Date: Mon, 18 Sep 2023 21:47:51 -0500 Subject: [PATCH 01/16] First draft of tailwind-based header and footer. --- Makefile | 6 +- content/_index.md | 8 +- site/CNAME | 1 - site/about/index.html | 11 +- site/community/index.html | 11 +- site/css/site.css | 4863 +-------------------------- site/design/layout-home/index.html | 11 +- site/design/widgets/index.html | 11 +- site/index.html | 7 +- site/learn/index.html | 11 +- site/plan/how-to-add/index.html | 11 +- site/plan/index.html | 7 +- site/plan/oubiwann/index.html | 11 +- site/plan/rvirding/index.html | 11 +- site/plan/yurrriq/index.html | 11 +- site/use/index.html | 11 +- static/css/site.css | 4863 +-------------------------- static/images/logo_developer@2x.png | Bin 0 -> 12841 bytes tailwind.config.js | 16 +- templates/base/css.html | 5 +- templates/base/foot.html | 117 +- templates/base/head-menu.html | 130 +- templates/base/page.html | 14 +- templates/base/section.html | 11 +- templates/content-home.html | 8 +- templates/content-page.html | 2 +- 26 files changed, 231 insertions(+), 9937 deletions(-) delete mode 100644 site/CNAME create mode 100644 static/images/logo_developer@2x.png diff --git a/Makefile b/Makefile index 17f6cb1..d245616 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,14 @@ docker-publish: docker-build ### SITE ################################################################ ############################################################################# -build: docker-build tailwind-build clean +zola-build: clean @echo " >> Building site ..." docker run \ -u "$(UID):$(GID)" -v $(PWD):$(MOUNT_DIR) --workdir $(MOUNT_DIR) $(DOCKER_FQN) \ build -o $(PUBLISH_DIR) +build: zola-build docker-build tailwind-build + serve: docker-build @echo " >> Running site ..." @docker run \ @@ -131,4 +133,4 @@ tailwind-build: -v $(PWD):$(MOUNT_DIR) --workdir $(MOUNT_DIR) \ --entrypoint npx \ $(DOCKER_FQN) \ - tailwindcss -i $(TAILWIND_INPUT) -o $(TAILWIND_OUTPUT) + tailwindcss -i $(TAILWIND_INPUT) -o $(TAILWIND_OUTPUT) --minify diff --git a/content/_index.md b/content/_index.md index 82d55d2..c30bcad 100644 --- a/content/_index.md +++ b/content/_index.md @@ -635,12 +635,12 @@ content = ''' ### Sponsors Section ############################### [extra.sponsors] -title = "A special thanks to our sponsor:" +title = "A special thanks to our sponsors:" -[extra.sponsors.billo] +[extra.sponsors.tbd] content = ''' -[img-src]: /images/billo-logo.png -[img-link]: http://billo.systems +[img-src]: /images/sponsor-logo.png +[img-link]: http://sponsor.url [![sponsor][img-src]][img-link] ''' +++ diff --git a/site/CNAME b/site/CNAME deleted file mode 100644 index c4629f1..0000000 --- a/site/CNAME +++ /dev/null @@ -1 +0,0 @@ -lfe.io diff --git a/site/about/index.html b/site/about/index.html index adab3fb..9b96d23 100644 --- a/site/about/index.html +++ b/site/about/index.html @@ -45,14 +45,13 @@ - - + - + @@ -63,7 +62,7 @@ -