Thingamablog Templates

Thingamablog uses three different template files to construct your blog pages. The main.template file specifies the layout for the main blog page, the archive.template file specifies the layout for archive/category pages, and the index.template file specifies the layout for the archive index page. You can edit these templates however you like, thereby creating a blog layout customized to your own taste. The included "Sample Templates" directory contains a number of pre-made templates to give you an idea of what you can do with Thingamablog.

You can edit your templates from within Thingamablog via the Template Editor. To access the Template Editor, click the Edit Templates button on the tool bar.

In addition, you can import Bloggerä templates into your blog from the Template Editor. When you import a Bloggerä template, the Bloggerä template tags are converted into relevant Thingamablog template tags.

 

Template Tags

Below is a guide to Thingamablog template tags. Please note that template tags are case sensitive.

 

Tags that work everywhere

<$BlogTitle$>

Replaced with: The title of the blog

Usage: eg. Display the title on the page header

<$BlogDescription$>

Replaced with: The description of the blog

Usage: eg. Display the description on the page header

<$PageTitle$>

Replaced with: The title of the page on the archive template. Nothing everywhere else.

Usage: Display a category name at the top of a category page

<$FrontPageLink$>

Replaced with: A link to the front page.

Usage: Provide a link to the main page

<$IndexPageLink$>

Replaced with: A link to the index page

Usage: Provide a link to the index of archives

<$RssLink$>

Replaced with: A link to the Rss File.

Usage: Provide a link to the Rss File

<$IndexPageLink$>

Replaced with: A link to the index page

Usage: Provide a link to the index of archives

<ArchiveList>
</ArchiveList>

Replaced with: The content between the tags

Usage: Create a list of archives.. Requires that <$ArchiveLink$> and/or <$ArchiveName$> appears between the tags.

<CategoryList>
</CategoryList>

Replaced with: The content between the tags

Usage: Create a list of categories.. Requires that <$CategoryLink$> and/or <$CategoryName$> appears between the tags.

 

Tags that work between <ArchiveList> and </ArchiveList>

<$ArchiveLink$>

Replaced with: The URL of an archive page

<$ArchiveName$>

Replaced with: The formatted date of an archive

Example: A list of links to the blog’s archives
<ArchiveList><a href="<$ArchiveLink$>"><$ArchiveName$></a><br></ArchiveList>

 

Tags that work between <CategoryList> and </CategoryList>

<$CategoryLink$>

Replaced with: The URL of a category page

<$CategoryName$>

Replaced with: The name of a category

Example: A list of links to the blog’s categories
<CategoryList><a href="<$CategoryLink$>"><$CategoryName$></a><br></CategoryList>

 

The <BlogEntry> </BlogEntry> tags

The <BlogEntry> and </BlogEntry> tags signify the layout of a single entry. Thus, they only work on the main template and archive template. Think of <BlogEntry>… </BlogEntry> as a sub-template within the main template for entries.

When the blog is constructed, everything between these tags will be replaced with the entries for that page.

Tags that only work between <BlogEntry> and </BlogEntry>

<$EntryID$>

Replaced with: The ID of the entry

Usage: Useful for constructing permalinks

<$EntryDate$>

Replaced with: The post date of the entry

<$EntryTime$>

Replaced with: The post time of the entry

<$EntryDateTime$>

Replaced with: The post date and time of the entry

<$EntryBody$>

Replaced with: The body text of the entry

<$EntryArchivePage$>

Replaced with: The archive page of the entry

Usage: Useful for constructing permalinks

<$EntryAuthor$>

Replaced with: The author of the entry

<$EntryAuthorEmail$>

Replaced with: The author’s email address

<$EntryAuthorURL$>

Replaced with: The authors URL

 

<EntryTitle> and </EntryTitle>

The <EntryTitle> and </EntryTitle> specify how to lay out the entry’s title if it has one. The <$EntryTitle$> tag only has meaning between these two tags.

Example <EntryTitle> <h2><$EntryTitle$></h2></EntryTitle>

 

Day Headers and Footers

Blog entries can be grouped by days on generated pages through the use of <DayHeader> and <DayFooter>. <$DayHeaderDate> is replaced with the date of the day and only has meaning between <DayHeader> and </DayHEader>. The Day Header Date will appear at the start of each new day of posts.

Example: <DayHeader><b>Posts for <$DayHeaderDate></b></DayHeader>

Any HTML that you want to appear at the end of a day of posts should be contained within <DayFooter> and </DayFooter>.

Example: <DayFooter> <hr> </DayFooter>

 

<EntryModifiedDate> and </EntryModifiedDate>

If an entry has been modified, you can specify the HTML that signifies the modification through the use of the <EntryModifiedDate> and </EntryModifiedDate> tags. The <$EntryModifiedDate$> is replaced with the date and time of the modification and only works between <EntryModifiedDate> and </EntryModifiedDate>.

Example: <EntryModifiedDate>Edited on: <$EntryModifiedDate$> </EntryModifiedDate>

 

<EntryCategories> and </EntryCategories>

You can display which categories and entry belongs to through the use of <EntryCategories> and </EntryCategories>.

Example:
<EntryCategories >
::<a href="<$CategoryLink$>"><$CategoryName$></a>::
</EntryCategories >


<<Back