Reputation: 223
I notice there is a data tag condition, 'data:post.isFirstPost' to check whether a post is first post or not. But what I wanted is not to check, but to get the url of very first post, so I can link that url to an image in homepage.
Like 'data:blog.homepageUrl' for home page, is there a url for the first post in blogger? If not, is there any other way to get it?
Upvotes: 2
Views: 859
Reputation:
There is no direct blogger tag for first post URL, But you can get it inside blog posts widget by this condition
<b:if cond='data:post.isFirstPost'>
<a expr:href='data:post.url'>
<img src='sdf.jpg'/>
</a>
</b:if>
Upvotes: 1