« The gaze | Main | Will Yahoo! Pipes Increase Content Theft? »

Uncategorized

How to turn your blog into a “real” web site

Thursday, February 22, 2007 | Permalink |

There was me thinking that a blog was a “real” website, just that it is easier to maintain and grow one using a blog platform than it is making static pages.

But if you started with a blog and want to have the front page of your site static, Angela Booth points to the instructions to make a static home page in a WordPress blog.

However, if you’re using Blogger - with the old classic template or your own design based on that system rather than the new Layouts - doing this is also simple, using conditional tags. Note that you’ll need to have post pages enabled in order to make this feature work.

In this case, you would merely need to type your HTML formatted static content for the front page, into the position where you want it to appear, between these tags:

<MainPage> </MainPage>

The dynamic code for the blog posts would then need to be included in the template twice (different versions in each case, if you wish), between the conditional tags for:

<ItemPage> </ItemPage>

and

<ArchivePage> </ArchivePage>

(Note: this wouldn’t work with the new Blogger layouts system, because, although there is a conditional function, it is limited to “Item” (equivalent of ItemPage) or “else”, which is therefore equivalent of the old conditional tag for <MainOrArchivePage> </MainOrArchivePage> - meaning that your static content would also show up on archive pages, meaning you wouldn’t have archives, which is not great. To understand the logic of this, compare it to the instructions given for post summaries.)

If you found something you like here, why not subscribe?

Enter your email address:

Delivered by FeedBurner

have your say

Add your comment below, or trackback from your own site. Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

:

:


« The gaze | Main | Will Yahoo! Pipes Increase Content Theft? »

We Sponzurz

Find us at ...



Random Kittehz

Add yer furball here

Random Fudz

Share yer grub here


Please. Every little helps!

Pamela Heywood's Facebook profile Add to Technorati Favorites Join the Blue Ribbon Online Free Speech Campaign

Get free updates

Enter your email address:

Delivered by FeedBurner

Archives