From a1eda32d9856e3ed5e06de73c9bc194f81891697 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 23 May 2021 21:52:56 -0400 Subject: added a bunch and published bad animated page titles --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b306956..3f7c13c 100644 --- a/Makefile +++ b/Makefile @@ -25,13 +25,11 @@ serve: post: @read -p "Title: " TITLE; \ - read -p "Category: " CATEGORY; \ SHORT_DATE=`date +"%Y-%m-%d"`; \ - mkdir -p posts/$$CATEGORY; \ - FILENAME=posts/$$CATEGORY/$$SHORT_DATE-`printf "$$TITLE" | tr -Cs "[:alnum:]" '-' | tr "[:upper:]" "[:lower:]"`.html; \ + FILENAME=posts/$$SHORT_DATE-`printf "$$TITLE" | tr -Cs "[:alnum:]" '-' | tr "[:upper:]" "[:lower:]"`.html; \ cp $(POST_T) $$FILENAME; \ sed -i '' "s/{{ title }}/$$TITLE/g" $$FILENAME; \ - $EDITOR $$FILENAME + $$EDITOR $$FILENAME clean: rm -f index.html rss.xml -- cgit v1.2.3