changed type to 'article' for single posts in blog. Updated theme.
[danix.xyz.git] / content / articles / gify-back-to-bash-scripting.md
index 6737a63..7c0055e 100644 (file)
@@ -1,7 +1,7 @@
 ---
 title: gify.sh – back to bash scripting
 author: Danilo M.
-type: post
+type: article
 date: 2016-01-25T12:41:06+00:00
 featured_image: /uploads/2016/01/G0092546.jpg
 categories:
@@ -74,7 +74,7 @@ Enjoy!
 #                                                                                #
 #--------------------------------------------------------------------------------#
 
-# ERROR & EXIT STATUSES
+# ERROR & EXIT STATUSES #
 SHOWHELP=61
 USERABORTED=62
 
@@ -85,19 +85,19 @@ E_FILEXISTS=74
 E_NOIMAGES=75
 E_UNKNOWNOPT=76
 
-# TOOLS
+# TOOLS #
 PWD=$(pwd)
 MOGRIFY=$(which mogrify)
 CONVERT=$(which convert)
 
-# we need mogrify and convert from the imagemagik toolset for this script to work
+# we need mogrify and convert from the imagemagik toolset for this script to work #
 if [[ ! -x $MOGRIFY || ! -x $CONVERT ]]; then
     showerror missingdeps
     exit $E_MISSINGDEPS
 fi
 
 
-# showhelp
+# showhelp #
 showhelp ()
 {
 case $1 in
@@ -131,7 +131,7 @@ case $1 in
 esac
 }
 
-# showerror
+# showerror #
 showerror ()
 {
     if [ -z $1 ];then