diff options
author | frosty <passedgoandgot200@disroot.org> | 2025-06-16 06:51:37 -0400 |
---|---|---|
committer | frosty <passedgoandgot200@disroot.org> | 2025-06-16 06:51:37 -0400 |
commit | 5634e70571eac6d9e525cce3cf4186478a04f223 (patch) | |
tree | ea757a21051a5140089fd0e206328c567559e8da /Makefile | |
parent | eab0d3ff03c66cd0f41eab2c84b43089687c96b0 (diff) |
add new post, add new pages, move about content to home, and more
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |