Merge "add helpouts script to <head>, behind a condition that can be enabled per page" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f84e045e42
@@ -24,8 +24,8 @@
|
|||||||
<meta name="Description" content="<?cs var:page.metaDescription ?>"><?cs
|
<meta name="Description" content="<?cs var:page.metaDescription ?>"><?cs
|
||||||
/if ?>
|
/if ?>
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" />
|
<link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" />
|
||||||
<title><?cs
|
<title><?cs
|
||||||
if:page.title ?><?cs
|
if:page.title ?><?cs
|
||||||
var:page.title ?> | <?cs
|
var:page.title ?> | <?cs
|
||||||
/if ?>Android Developers</title>
|
/if ?>Android Developers</title>
|
||||||
|
|
||||||
@@ -64,6 +64,13 @@ else
|
|||||||
</script>
|
</script>
|
||||||
<script src="<?cs var:toroot ?>assets/js/docs.js?v=2" type="text/javascript"></script>
|
<script src="<?cs var:toroot ?>assets/js/docs.js?v=2" type="text/javascript"></script>
|
||||||
|
|
||||||
|
<?cs if:helpoutsWidget ?>
|
||||||
|
<script type="text/javascript" src="https://helpouts.google.com/ps/res/embed.js" defer async
|
||||||
|
data-helpouts-embed data-helpouts-vertical="programming"
|
||||||
|
data-helpouts-tags="<?cs var:page.tags ?>" data-helpouts-prefix="android"
|
||||||
|
data-helpouts-standalone="true"></script>
|
||||||
|
<?cs /if ?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||||
|
Reference in New Issue
Block a user