diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-05-23 21:52:56 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-05-23 21:52:56 -0400 |
commit | a1eda32d9856e3ed5e06de73c9bc194f81891697 (patch) | |
tree | 6897d61cf138491b03fc2aef8adc3772e813a04a /Makefile | |
parent | 5a3fcb09a6a139a508b077b4c4e5a546b8f0aabd (diff) | |
download | 53hor-a1eda32d9856e3ed5e06de73c9bc194f81891697.tar.xz 53hor-a1eda32d9856e3ed5e06de73c9bc194f81891697.zip |
added a bunch and published bad animated page titles
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |