• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Template Tags for the Head Section

Template Tags for the Head Section

The tags described below are all used within the <head> and </head> tags at the top of your blog's template.

tagdescription
<$BlogSiteFeedLink$>generates a link tag on your page that makes browsers like Firefox aware of your site feed and its URL: <link rel="service.feed" type="application/atom+xml" title="Knowing Beans" href="http://knowingbeans.blogspot.com/atom.xml" />
<$BlogEncoding$>outputs the character encoding that you chose in the Encoding field on the Settings | Formatting page
<BlogSiteFeed>...</BlogSiteFeed>a conditional tag whose contents are only output if you've selected Yes for Publish Site Feed on the Settings | Site Feed page
<$BlogSiteFeedUrl$>generates the URL for your blog site feed (see page 108); must be within opening and closing <BlogSiteFeed> tags to work properly. Note the lowercase rl.
<$BlogMetaData$>generates an entire section of meta data, including:

a line declaring the character encoding, as specified in the Encoding field on the Settings | Formatting page:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

a line telling Microsoft not to convert parts of your page into advertising links toward their site:

<meta name="MSSmartTagsPreventParsing" content="true" />

a line identifying Blogger as the program that created the file:

<meta name="generator" content="Blogger" />

if you have selected No for Add your Blog to our listings (page 106), part of the meta data will be <meta name="ROBOTS" content="NOINDEX,NOFOLLOW" />

if you have selected Yes for Publish Site Feed (page 108), part of the meta data will look something like <link rel="alternate" type="application/atom+xml" title="Knowing Beans" href="atom.xml" />.
<$BlogPageTitle$>Most often used within <title> and </title> tags inside the head section of your blog's template. It is one of Blogger's conditional or smart tags that varies according to where it appears.If the page being displayed is your main blog page, the title is, for example, Knowing Beans. If the page is an archive page, you'll get the blog title followed by the date information, something like Knowing Beans - August, 2004. If the page is a post page, you'll get the title followed by the title of the post, as in Knowing Beans - Lots of reading.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint