Created
November 14, 2012 11:04
-
-
Save abmac/4071542 to your computer and use it in GitHub Desktop.
index only homepage and post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <b:if cond='data:blog.pageType == "item"'> | |
| <meta content='index,follow,noarchive,noodp' name='robots'/> | |
| </b:if> | |
| <b:if cond='data:blog.pageType == "index"'> | |
| <b:if cond='data:blog.url == data:blog.homepageUrl'> | |
| <meta content='index,follow,noarchive,noodp' name='robots'/> | |
| <b:else/> | |
| <meta content='noindex,follow,noarchive,noodp' name='robots'/> | |
| </b:if> | |
| </b:if> | |
| <b:if cond='data:blog.pageType == "archive"'> | |
| <meta content='noindex,follow,noarchive,noodp' name='robots'/> | |
| </b:if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment