abcd
abcd

Reputation: 451

Add Description Blogger

I wonder how do I add the blog description in my template specific location.

<data:blog.description />

Returns nothing. How do I get the description of the blog?

Upvotes: 1

Views: 1249

Answers (3)

Mohanjeet Singh
Mohanjeet Singh

Reputation: 31

Out of the various options I've come across for description, only data:view.description works.

As on date, these aren't working for me:

data:blog.metaDescription
data:blog.description

Upvotes: 0

Abanoub Hanna
Abanoub Hanna

Reputation: 39

Use <data:blog.metaDescription/> instead of <data:blog.description/>. look at this

 <b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.pageTitle/> | <data:blog.metaDescription/></title> 
<b:else/>
<title><data:blog.pageName/> | <data:blog.title/></title>
</b:if>

I hope it helps

Upvotes: 0

Dinesh DiNu
Dinesh DiNu

Reputation: 699

it may helps you..

<meta expr:content='data:blog.metaDescription' itemprop='description'/>
<b:else/>
<!-- Show if the Meta Description post Page is not active-->
<meta expr:content='data:blog.pageName + &quot; - &quot; your customized meta description here .&quot;' name='description'/>
</b:if>

Upvotes: 1

Related Questions