@@ 23,9 23,6 @@ global_software_version="0.1"
global_variables() {
# This function is left-aligned because I hate using tabs instead of spaces.
cat << EOF > .config
-global_software_name="$global_software_name"
-global_software_version="$global_software_version"
-
# Blog title
global_title="My $global_software_name blog"
# The typical subtitle for each blog
@@ 41,7 38,7 @@ preview_url="$PWD"
global_author="$USER"
# You can use anything for global_author_url
global_author_url="http://example.com"
-# Your email
+# Your email. Requires javascript to view to hopefully limit spam. Will be changed to base64 string.
global_email="me@example.com"
# CC by-nc-nd is a good starting point, you can change this to "©" for Copyright
@@ 161,10 158,6 @@ date_allposts_header="%B %Y"
# This default filter respects backwards compatibility
convert_filename="iconv -f utf-8 -t ascii//translit | sed 's/^-*//' | tr [:upper:] [:lower:] | tr ' ' '-' | tr -dc '[:alnum:]-'"
-# URL where you can view the post while it's being edited
-# Defaults to current directory where bashtml was called.
-preview_url="$PWD"
-
# Markdown location. Trying to autodetect by default.
# The invocation must support the signature 'markdown_bin in.md > out.html'
[[ -f Markdown.pl ]] && markdown_bin=./Markdown.pl || markdown_bin=$(which Markdown.pl 2>/dev/null || which markdown 2>/dev/null)