Managing blog HTML templates
HTML templates for blogs control how the blog looks and feels. Each template combines HTML with special system tags to display the end result in a browser.
There are four views in the HTML section of the navigation pane:
- Page templates - determine the appearance of Web page layout.
For example, you use page template for each content document, the home page, and so on.
- Item templates - control the appearance of content lists.
For example, if you have five items of recent content listed on a home page, each item is formatted with an item template.
- Block templates - are used to simplify HTML template maintenance. If you have a block of HTML code that is used in multiple page templates, you use a block template for that code and then refer to the block template within the page template.
For example, you can use block template to define a header or sidebar that is used on multiple pages in the site.
- Web client template - controls the appearance of the Web editor used for the template. This allows organizations to add their own styles and add or remove features without having to change the underlying template design.
Each view lists default templates that are included with the blog template.
Creating a new template
You use the same procedure to create any blog HTML template.
- In the view for which you want to create a blog HTML template click
Create New
. A template document appears. - On the Text/HTML tab, complete the following fields:
- Enter a name for the resource in the Template Name field.
- In the content field, type the HTML content.
- For Page and Web Client templates, you can insert a block template here.
- Position the cursor at the place in the code at which you want to insert the block template.
- Click Action - Insert Template Block, and select one from the list. Click OK>
- Complete the information on the Properties tab. This is to provide information on the resource you are creating.
You can import or refresh the HTML content from an external source, or export your HTML code to an external file. Click Action and select the appropriate action.
Using the template Web browser client to administer a blog
The blog template includes a Web browser client that is usable from Internet Explorer or Mozilla Firefox.
From the default web site that is used with the blog template, access the web client by clicking Admin at the end of the page.