This is a simple generator for html templates. It uses Python3 to generate a basic index.html with css and js files. The generator also takes in a favicon. This icon is automatically resized to fit all devices and the needed meta tags are genrated in the html head section.
The following python modules need to be installed to run the generator:
- Image (PIL)
- bs4 (BeautifulSoup)
Call python3 html_template_generator.py -t <site_title>
Argument | Description | Default Value | Required |
---|---|---|---|
-t --title |
The title of the site | - | YES |
-i --icon |
The favicon source file use a 512x512 px file |
favicon.png | NO |
-c --tileColor |
Color in the Windows start-menu tile Do NOT include # |
000000 | NO |
-j --jquery |
Set to True if you want to include jQuery | False | NO |
You will find all generated files in the output/
folder.