shithub: hugo

Download patch

ref: 851c16ef3bbe830f5d43d81bd2b0143e4f1804ee
parent: 9ff36c5a8f9a09754c67f6019aba79ebc08d164f
author: Anthony Fok <[email protected]>
date: Mon Jan 4 18:36:57 EST 2016

Docs: Run "brew update" before "brew install hugo"

Remind user to always run "brew update" first in order to avoid
repeated bug reports from users who didn't do that.

See #824, #1067, #1537, #1633 and #1749

--- a/docs/content/overview/installing.md
+++ b/docs/content/overview/installing.md
@@ -35,7 +35,7 @@
 `/usr/local/bin` is the most probable location.
 
 On OS&nbsp;X, if you have [Homebrew](http://brew.sh/), installation is even
-easier: just run `brew install hugo`.
+easier: just run `brew update && brew install hugo`.
 
 For a more detailed explanation follow the corresponding installation guides:
 
--- a/docs/content/tutorials/installing-on-mac.md
+++ b/docs/content/tutorials/installing-on-mac.md
@@ -59,10 +59,16 @@
 
 ### Step 2: Run the `brew` command to install `hugo`
 
-Replace `brew install hugo` with `brew install hugo --HEAD` if you
-want the absolute latest version—there might be bugs!
+First, update the formulae and Homebrew itself by running:
 
+```bash
+$ brew update
 ```
+
+Then, install Hugo using Homebrew by running:
+
+
+```bash
 $ brew install hugo
 ==> Downloading https://homebrew.bintray.com/bottles/hugo-0.13_1.yosemite.bottle.tar.gz
 ######################################################################## 100.0%
@@ -70,9 +76,13 @@
 🍺  /usr/local/Cellar/hugo/0.13_1: 4 files,  14M
 ```
 
+(Note: Replace `brew install hugo` with `brew install hugo --HEAD`
+if you want the absolute latest version in development,
+but beware—there might be bugs!)
+
 `Brew` should have updated your path to include Hugo. Confirm by opening a new terminal window and running a few commands:
 
-```
+```bash
 $ # show the location of the hugo executable
 $ which hugo
 /usr/local/bin/hugo
--- a/docs/layouts/index.html
+++ b/docs/layouts/index.html
@@ -223,7 +223,7 @@
                 <a href="/overview/quickstart/" style="color:white;font-weight:300;">Quickstart Guide</a>
                 <p>&nbsp;</p>
                 <h4>Using Homebrew?</h4>
-                <pre><code>brew install hugo</code></pre>
+                <pre><code>brew update &amp;&amp; brew install hugo</code></pre>
               </div>
             </div>
           </div>
--- a/docs/static/css/HPstyles.css
+++ b/docs/static/css/HPstyles.css
@@ -205,7 +205,6 @@
     color: #545454;
 }
 #action code {
-    font-family: Lato, monospace;
     font-size: 14pt;
 }