diff --git a/webgen.py b/webgen.py index d7bc7ed..2efe3cf 100755 --- a/webgen.py +++ b/webgen.py @@ -2,6 +2,7 @@ import sys, os, re, markdown, datetime +# Getoptions try: parameters = sys.argv[1] except: @@ -36,26 +37,18 @@ else: html_out_file = sys.stdout title_of_text = mark_down_file - head1 = ( - '\n\ -\n\ -\n\ -\n\ -' + '<!DOCTYPE HTML>\n\<html>\n\<head>\n\ +<meta http-equiv="content-type" content="text/html; charset=UTF-8">\n\<title>' + title_of_text + '\n\ -\n\ -\n\ \n\ \n\ \n\ -