mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Some mobile and other fixes for docs
This commit is contained in:
10
docs/layouts/chrome/analytics.html
Normal file
10
docs/layouts/chrome/analytics.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<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','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-7131036-4', 'spf13.com');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
@@ -12,6 +12,7 @@
|
||||
</div>
|
||||
<script src="/static/js/jquery.js"></script>
|
||||
<script src="/static/js/bootstrap.min.js"></script>
|
||||
{{ template "chrome/analytics.html" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@@ -24,9 +24,8 @@
|
||||
<h1>Hugo</h1>
|
||||
<h3>The <em>Fast and Flexible</em> Static Site Generator</h3>
|
||||
<br>
|
||||
<a href="#intro" class="btn btn-clear btn-lg">LEARN MORE</a>
|
||||
<a href="#intro" class="btn btn-clear btn-lg">LEARN MORE</a>
|
||||
<a href="https://github.com/spf13/hugo/releases" class="btn btn-success btn-lg">DOWNLOAD <i class="icon-arrow-down"></i></a><br>
|
||||
<br>
|
||||
<a href="/overview/quickstart/" class="btn btn-info btn-lg">DOCUMENTATION</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -161,8 +160,8 @@
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3 text-center">
|
||||
<h3>Get Started Today!</h3>
|
||||
<a href="/overview/quickstart" class="btn btn-md btn-default">Documentation</a>
|
||||
<a href="https://github.com/spf13/hugo/releases" class="btn btn-lg btn-primary">Download <i class="icon-arrow-down"></i></a>
|
||||
<a href="/overview/quickstart" style="color:white;font-weight:300;">Documentation</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -211,6 +210,7 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
{{ template "chrome/analytics.html" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user