Use Blogger to Host Static Web Pages - Part 3
I needed to serve two static HTML pages for my adsense ad units backup ads. I used Blogger since it was easy to use, easy to manipulate, and I already had an account.
Before we start, you need to have a barebones Blogger template. You can search for a barebones template on Google using the keywords I showed in the first part of this article or just choose from the links I gave in the second part of this article.
Here are the steps to host static web pages on Blogger:
- Create a new blog. I strongly advise not to do this to an existing blog. It will wipe out the template and all its formatting and layout.
- On the Overview page of your blog, select Template and then select Edit HTML.
- Select everything (Ctrl-A) then delete all.
- Paste the code of your barebones template into the empty text box.
- Click on Save template.
- Select Pages and then click on New page to start creating your static plain HTML web page.
To get rid of the Home and the Subscribe to lines at the end, you can add this code to the template, right before the <body> tag:
<style>
#blog-pager {display: none;}
.blog-feeds {display: none;}
</style>