From 5634e70571eac6d9e525cce3cf4186478a04f223 Mon Sep 17 00:00:00 2001 From: frosty Date: Mon, 16 Jun 2025 06:51:37 -0400 Subject: add new post, add new pages, move about content to home, and more --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f21fe21..7303e82 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,24 @@ +# Deploy options RSYNC_PATH ?= sudo -u nginx rsync REMOTE ?= user@192.168.0.100:/var/www/html +# Email options +EMAIL_ADDRESS ?= mail@example.net +EMAIL_FONT ?= Iosevka +EMAIL_COLOR ?= eeff11 + all: build build: hugo --minify deploy: build - rsync --rsync-path="$(RSYNC_PATH)" -avP --delete public/ $(REMOTE) + rsync --rsync-path="$(RSYNC_PATH)" -avP --delete public/ "$(REMOTE)" serve: hugo serve --disableFastRender -.PHONY: all build deploy serve +email: + magick -background transparent -fill "#$(EMAIL_COLOR)" -font "$(EMAIL_FONT)" -size 220x60 -gravity center label:"$(EMAIL_ADDRESS)" -wave -15x150 ./static/img/text.png + +.PHONY: all build deploy serve email -- cgit v1.2.3-70-g09d2