mirror of https://github.com/crossplane/docs.git
Merge pull request #5 from thephred/google-analytics
Add google analytics tracking and some small fixes.
This commit is contained in:
commit
236a68328c
|
@ -0,0 +1,10 @@
|
||||||
|
<!-- Google Analytics -->
|
||||||
|
<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),
|
||||||
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
|
ga('create', 'UA-110275540-2', 'auto');
|
||||||
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
|
@ -21,5 +21,6 @@
|
||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
<div id="content">{{ content }}</div>
|
<div id="content">{{ content }}</div>
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
{% include google-analytics.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -137,5 +137,6 @@
|
||||||
menuDom.appendChild(itemDom);
|
menuDom.appendChild(itemDom);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
{% include google-analytics.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -148,6 +148,7 @@ pre > code {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
font-size: 24px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
line-height: 1.15;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
|
|
|
@ -220,7 +220,7 @@ stylesheet: index
|
||||||
<div class="col-10_sm-12">
|
<div class="col-10_sm-12">
|
||||||
<h2>Learn more and get involved with the community</h2>
|
<h2>Learn more and get involved with the community</h2>
|
||||||
<p>
|
<p>
|
||||||
Join the conversation and help shape the evolution of crossplane. Here are a few ways to get started:
|
Join the conversation and help shape the evolution of crossplane. Here are a few ways to get started.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue