Today I am very exited because as I am going to take you inside Blogger template and sharing some nice and useful tips through which you can get more command over your Blogger Template. So in this article mainly I will tell you about Important Data Tags used by blogger to display selective content on your Blog. You can change this Data Tags as your need, once you go through this article.
These Data Tags will be formatted as <data:name/> or <data:name1:name2/>, where name is the particle type of data that you want to use in your Template.
Globally available Data : Means you an use these Data Tags anywhere in the template.
- data:title: Display the title of the Blog.
- data:url: Contain url of the Blog.
- data:pageType: Contain the Page type of the Blog. ex.
<b:if cond='data:pageType=="item"> The code will execute only if the current page is item page.
Blog Posts : It contain the following Data Type.
- data:label:name: It will Display the label text.
- data:label:url: The URL of the page that contain all posts in this blog under this label.
- data:label:isLast: Gives only True or False. Check whether this label is last one in this list.
- data:allowComments: True if the post allow comment.
- data:numComments: The number of comment in this post.
0 comments:
Post a Comment