monochromatic

monochromatic blog: http://blog.z3bra.org
git clone git://z3bra.org/monochromatic
Log | Files | Refs

commit 78855a627a0eb6a584ce07789717ec7e0df2a835
parent c437e26bf36757428b3aa4afdeafd4cbbd9c2e0a
Author: z3bra <willy@mailoo.org>
Date:   Tue, 19 Aug 2014 09:38:55 +0200

Corrected a few things here and there

Diffstat:
Makefile | 2+-
post.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -30,5 +30,5 @@ $(FEEDS): index.txt .txt.html: $(HEADER) $(FOOTER) @echo "MARKDOWN `basename $@`" @cat $(HEADER) > $@ - @markdown $< >> $@ + @$(MD) $< >> $@ @cat $(FOOTER) >> $@ diff --git a/post.sh b/post.sh @@ -4,7 +4,7 @@ read -p "Post title: " title # use post title to name the file -file=`echo ${title}| sed "s/\s\+/-/g;s/./\l&/g;s/[,.!;\"']//g"`.txt +file=`echo ${title}| sed "s/\s\+/-/g;s/./\L&/g;s/[,.!;\"']//g"`.txt test -z "$file" && exit 1