From b828715f60063ab4d5cafd6663346ba217ce79b7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 17 Nov 2024 18:36:33 +0100 Subject: [PATCH] FI for FIle -> PH for PlaceHolder --- data/blog/posts/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/data/blog/posts/Makefile b/data/blog/posts/Makefile index ce7d29d..494eea5 100644 --- a/data/blog/posts/Makefile +++ b/data/blog/posts/Makefile @@ -5,16 +5,16 @@ PRINT = echo DATE = $(shell date '+%d-%m-%Y') DIR = $(shell date '+%Y/%m') -FI := new +PH := new new: $(MKDIR) $(DIR) 2> /dev/null - $(TOUCH) $(DIR)/$(FI).md - $(PRINT) "---" > $(DIR)/$(FI).md - $(PRINT) "publish: false" >> $(DIR)/$(FI).md - $(PRINT) "date: $(DATE)" >> $(DIR)/$(FI).md - $(PRINT) "draft: true" >> $(DIR)/$(FI).md - $(PRINT) "---" >> $(DIR)/$(FI).md + $(TOUCH) $(DIR)/$(PH).md + $(PRINT) "---" > $(DIR)/$(PH).md + $(PRINT) "publish: false" >> $(DIR)/$(PH).md + $(PRINT) "date: $(DATE)" >> $(DIR)/$(PH).md + $(PRINT) "draft: true" >> $(DIR)/$(PH).md + $(PRINT) "---" >> $(DIR)/$(PH).md help: - $(PRINT) "make FI=new" + $(PRINT) "make PH=new"