instructions for Homebrew installation

updated installation page of documentation, and changed "Download" button on index.html to scroll to bottom where multiple installation options are featured

getting the scrolldown to work required removing the fixed positioning on #action and on the footer
This commit is contained in:
Alex Dunn
2014-09-22 16:58:30 -07:00
committed by spf13
parent 26e44506e9
commit 4e4ea9583f
3 changed files with 24 additions and 23 deletions

View File

@@ -29,7 +29,7 @@
<a href="#intro"><img src="/img/hugo.png" class="logo"> </a>
<div class="buttonbox">
<a href="/overview/introduction" class="btn btn-primary btn-lg">Docs <i class="icon-idea"></i></a>
<a href="https://github.com/spf13/hugo/releases" class="btn btn-success btn-lg">Download <i class="icon-arrow-down"></i></a>
<a href="#action" class="btn btn-success btn-lg">Download <i class="icon-arrow-down"></i></a>
<a href="http://discuss.gohugo.io" class="btn btn-info btn-lg">Community <i class="icon-talking"></i></a>
<a href="https://github.com/spf13/hugo" class="btn btn-dark btn-lg">Github <i class="icon-circlestar"></i></a>
</div>
@@ -111,7 +111,7 @@
Organize your content however you want with any URL structure.
Declare your own content types.
Define your own meta data in YAML, TOML or JSON.
Use indexes to group your content however you want.
Use indexes to group your content however you want.
Best of all this is all done with virtually no configuration, Hugo
just works.
@@ -211,6 +211,7 @@
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center">
<h3>Get Started Today!</h3>
<pre><code>brew install hugo</code></pre>
<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/introduction" style="color:white;font-weight:300;">Documentation</a>
</div>
@@ -218,7 +219,6 @@
</div>
</div>
<!-- /Call to Action -->
<div id="footerSpacer"></div>
<!-- Footer -->
<footer id="footer">
@@ -245,7 +245,7 @@
<script>
$(function() {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
|| location.hostname == this.hostname) {
var target = $(this.hash);