Re: Different header text on static pages than on index?

David Kutcher <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <CAFat8DNgWnYRbn6NVTnYoy5rwt4Ls8jPS71dyR-3JkKfcvpT_A@mail.gmail.com>
Hi Craig (we're connected on G+),

What you need to do is use an IF statement tied to the pagetype variable
within the Blogger coding language.

In your situation, that would look like:

<b:if cond='data:blog.pageType == &quot;index&quot;'>
<b>Latest News:</b>
</b:if>

This article explains the different types:
http://mystady.com/2011/05/7-blogger-page-types-analysis-code.html

Best, David

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.