Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8df21b19 authored by smain@google.com's avatar smain@google.com
Browse files

add helpouts script to <head>, behind a condition that can be enabled per page

Change-Id: Ifa2364ed77a86efd6bec69dbe4f15d7f69569504
parent 03eceba1
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -64,6 +64,13 @@ else
</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>
  (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),