Adding excludeFromSuggestions, wear preview project path, and android wear/tv/auto/versions projectsw to template

b/31771704 b/31903798 b/31773716

Staged:
https://android-dot-devsite.googleplex.com/about/versions/nougat/index.html
https://android-dot-devsite.googleplex.com/index.html
https://android-dot-devsite.googleplex.com/wear/preview/index.html

Change-Id: Idf9893f9d108c26038ead06c84de771e21b89f37
This commit is contained in:
Amanda Kassay 2016-10-05 17:32:49 -04:00
parent a9fcf48078
commit b5c04107af

View file

@ -126,8 +126,13 @@ if:devsite ?>
elif:stories ?>/stories<?cs
elif:analyze ?>/analyze<?cs
else ?><?cs /if ?><?cs
elif:(about||versions||wear||tv||auto) ?>/about<?cs
elif:wearpreview ?>/wear<?cs
elif:(about||versions||wear||tv||auto) ?><?cs
if:versions ?>/about/versions<?cs
elif:wear ?>/wear<?cs
elif:tv ?>/tv<?cs
elif:auto ?>/auto<?cs
else ?>/about<?cs /if ?><?cs
elif:wearpreview ?>/wear/preview<?cs
elif:work ?>/work<?cs
elif:preview ?>/preview<?cs
elif:design ?>/design<?cs /if ?>/_project.yaml" /><?cs
@ -150,6 +155,9 @@ if:devsite ?>
if:page.image ?>
<meta name="image_path" value='<?cs var:page.image ?>' /><?cs
/if ?><?cs
if:excludeFromSuggestions ?>
<meta name="hide_from_search_suggest" value="true" /><?cs
/if ?><?cs
/if ?><?cs # END if/else devsite ?><?cs
if:!devsite ?>