Individual Pages in Blogger
I am trying to make one page different and was availing myself of the help provided at the Blogger Help forum, at the multiple static pages conditional tags thread.
The code I pasted in the theme HTML was:
<b:with value='["https://..."]' var='URLArray'> <b:if cond='data:view.url in data:URLArray'> <b:class name='hide-navigation'/> </b:if> </b:with>
I noticed after the theme was saved it was changed to:
<b:with value='["https://..."]' var='URLArray'> <b:if cond='data:view.url in data:URLArray'> <b:class name='hide-navigation'/> </b:if> </b:with>
It didn't seem to make any difference in the HTML of the targeted page.
Update: I wound up doing it like this:
<b:class cond='data:view.isPage and data:view.pageId == the_page_id_number' name='unique-inside-page'/>
Comments
Post a Comment