aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorfrosty <passedgoandgot200@disroot.org>2025-06-16 06:51:37 -0400
committerfrosty <passedgoandgot200@disroot.org>2025-06-16 06:51:37 -0400
commit5634e70571eac6d9e525cce3cf4186478a04f223 (patch)
treeea757a21051a5140089fd0e206328c567559e8da /Makefile
parenteab0d3ff03c66cd0f41eab2c84b43089687c96b0 (diff)
add new post, add new pages, move about content to home, and more
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
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