Fix for double header and footer on ndk download pages: b/27950742

https://android-dot-devsite.googleplex.com/ndk/downloads/index.html

Fix for html code in page title and h1 tag: b/28237039
https://android-dot-devsite.googleplex.com/guide/topics/manifest/manifest-element.html

Change-Id: Idc9ba0a1ba33d1b89b7dbfd3d620d0e587c57459
This commit is contained in:
Amanda Kassay 2016-04-18 12:55:17 -04:00
parent 848295aea9
commit 01febb9675
2 changed files with 3 additions and 6 deletions

View File

@ -127,7 +127,7 @@
<title><?cs
if:devsite ?><?cs
if:page.title ?><?cs
var:page.title ?><?cs
var:html_strip(page.title) ?><?cs
else ?>Android Developers<?cs
/if ?><?cs
else ?><?cs

View File

@ -46,7 +46,7 @@
#
?>
<?cs if:header.hide ?><?cs else ?>
<?cs if:(header.hide||devsite)?><?cs else ?>
<h1 itemprop="name"><?cs var:page.title ?></h1>
<?cs /if ?>
<div id="jd-content" itemprop="description">
@ -574,7 +574,7 @@ tools release notes</a>.</p>
</div><!-- end jd-content -->
<?cs if:!sdk.redirect ?>
<?cs if:!sdk.redirect && !devsite ?>
<?cs include:"footer.cs" ?>
<?cs /if ?>
@ -599,6 +599,3 @@ document.write('<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2
<!-- End of Tag -->
</body>
</html>