Include digits in slugs.

This commit is contained in:
David Tomaschik
2016-03-26 20:43:01 -07:00
parent 3071ecd7f7
commit 997b27dd19

View File

@@ -52,7 +52,7 @@ function jekyll {
JTEMPLATE+="category: Blog\n" JTEMPLATE+="category: Blog\n"
JTEMPLATE+="---\n" JTEMPLATE+="---\n"
TITLE=${@[2,-1]} TITLE=${@[2,-1]}
SLUG=$(echo -n ${TITLE}|tr A-Z a-z|tr -c -s -- a-z -) SLUG=$(echo -n ${TITLE}|tr A-Z a-z|tr -c -s -- a-z0-9 -)
DATE=`date +%Y-%m-%d` DATE=`date +%Y-%m-%d`
case "${1:-help}" in case "${1:-help}" in