mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
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:
parent
26e44506e9
commit
4e4ea9583f
3 changed files with 24 additions and 23 deletions
|
@ -28,6 +28,9 @@ where you don't have a privileged account.
|
||||||
Ideally you should install it somewhere in your path for easy use. `/usr/local/bin`
|
Ideally you should install it somewhere in your path for easy use. `/usr/local/bin`
|
||||||
is the most probable location.
|
is the most probable location.
|
||||||
|
|
||||||
|
If you have [Homebrew](http://brew.sh), installation is even easier. Just run
|
||||||
|
`brew install hugo`.
|
||||||
|
|
||||||
### Installing Pygments (optional)
|
### Installing Pygments (optional)
|
||||||
|
|
||||||
The Hugo executable has one *optional* external dependency for source code highlighting (Pygments).
|
The Hugo executable has one *optional* external dependency for source code highlighting (Pygments).
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<a href="#intro"><img src="/img/hugo.png" class="logo"> </a>
|
<a href="#intro"><img src="/img/hugo.png" class="logo"> </a>
|
||||||
<div class="buttonbox">
|
<div class="buttonbox">
|
||||||
<a href="/overview/introduction" class="btn btn-primary btn-lg">Docs <i class="icon-idea"></i></a>
|
<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="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>
|
<a href="https://github.com/spf13/hugo" class="btn btn-dark btn-lg">Github <i class="icon-circlestar"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -211,6 +211,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-10 col-md-offset-1 text-center">
|
<div class="col-md-10 col-md-offset-1 text-center">
|
||||||
<h3>Get Started Today!</h3>
|
<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="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>
|
<a href="/overview/introduction" style="color:white;font-weight:300;">Documentation</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -218,7 +219,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- /Call to Action -->
|
<!-- /Call to Action -->
|
||||||
<div id="footerSpacer"></div>
|
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<footer id="footer">
|
<footer id="footer">
|
||||||
|
|
28
docs/static/css/HPstyles.css
vendored
28
docs/static/css/HPstyles.css
vendored
|
@ -192,27 +192,25 @@ i.callout-icon:hover {
|
||||||
|
|
||||||
#action {
|
#action {
|
||||||
background: url(../img/gray.png);
|
background: url(../img/gray.png);
|
||||||
padding: 50px 0px 30px;
|
padding: 30px 0px 40px;
|
||||||
position: fixed;
|
|
||||||
bottom: 130px;
|
|
||||||
z-index: 99998;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
#action pre {
|
||||||
#footerSpacer {
|
background-color: #545454;
|
||||||
display: block;
|
color: #f9f2f4;
|
||||||
min-height: 310px;
|
}
|
||||||
background-color: rgba(0, 0, 0, 0);
|
#action pre:hover {
|
||||||
|
background-color: #f9f2f4;
|
||||||
|
color: #545454;
|
||||||
|
}
|
||||||
|
#action code {
|
||||||
|
font-family: Lato, monospace;
|
||||||
|
font-size: 14pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
bottom: 0px;
|
|
||||||
left: 0px;
|
|
||||||
padding: 10px 0px;
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
z-index: 99998;
|
padding: 50px 0px 25px 0px;
|
||||||
background: rgb(255, 255, 255);
|
background: rgb(255, 255, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue