Here is a little script I came across to create a simple html document on the fly;
Insert this code into the new script and modify as needed (it can be as simple of as complex as you would like!)
# make_page - A script to produce a basic HTML file
echo " The title of your page"
echo " Your page content goes here."
now save and close the new script. In Vim use
chmod +x http.sh
to make it executable then
./http.sh > mypage.html
to run the script. It will create the file mypage.html. You can modify this script to include any level of complexity you wish.