diff options
Diffstat (limited to 'post/hugoisforlovers/index.html')
-rw-r--r-- | post/hugoisforlovers/index.html | 161 |
1 files changed, 0 insertions, 161 deletions
diff --git a/post/hugoisforlovers/index.html b/post/hugoisforlovers/index.html deleted file mode 100644 index 7d23501..0000000 --- a/post/hugoisforlovers/index.html +++ /dev/null @@ -1,161 +0,0 @@ -<!DOCTYPE html> -<html lang="en-US"> -<head> -<meta charset="utf-8"> -<meta name="description" content=""> -<meta name="keywords" content=""> -<meta name="author" content=""> -<meta name="generator" content="Hugo 0.37.1" /> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<link rel="stylesheet" href="https://htdvisser.github.io/hugo-base16-theme/css/style.css" type="text/css"> -<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css"> -<link rel="alternate" href="https://htdvisser.github.io/hugo-base16-theme/index.xml" type="application/rss+xml" title="Hugo Base16 Theme"> -<title>Getting Started with Hugo - Hugo Base16 Theme</title> -</head> -<body> - -<header> - <div class="container clearfix"> - <a class="path" href="https://htdvisser.github.io/hugo-base16-theme/">[Hugo Base16 Theme]</a> - <span class="caret"># _</span> - <div class="right"> - - </div> - </div> -</header> - -<div class="container"> - - -<main role="main" class="article"> - -<article class="single" itemscope itemtype="http://schema.org/BlogPosting"> - <div class="meta"> - - <span class="key">published on</span> - <span class="val"><time itemprop="datePublished" datetime="2014-04-02">April 02, 2014</time></span> - - - <span class="key">in</span> - <span class="val"> - - <a href="https://htdvisser.github.io/hugo-base16-theme/categories/development">Development</a> - - <a href="https://htdvisser.github.io/hugo-base16-theme/categories/golang">golang</a> - - </span> - - - <br> - <span class="key">tags:</span> - <span class="val"> - - <a href="https://htdvisser.github.io/hugo-base16-theme/tags/go">go</a> - - <a href="https://htdvisser.github.io/hugo-base16-theme/tags/golang">golang</a> - - <a href="https://htdvisser.github.io/hugo-base16-theme/tags/hugo">hugo</a> - - <a href="https://htdvisser.github.io/hugo-base16-theme/tags/development">development</a> - - </span> - - </div> - <h1 class="headline" itemprop="headline">Getting Started with Hugo</h1> - <section class="body" itemprop="articleBody"> - - -<h2 id="step-1-install-hugo">Step 1. Install Hugo</h2> - -<p>Goto <a href="https://github.com/spf13/hugo/releases">hugo releases</a> and download the -appropriate version for your os and architecture.</p> - -<p>Save it somewhere specific as we will be using it in the next step.</p> - -<p>More complete instructions are available at <a href="https://htdvisser.github.io/hugo-base16-theme/overview/installing/">installing hugo</a></p> - -<h2 id="step-2-build-the-docs">Step 2. Build the Docs</h2> - -<p>Hugo has its own example site which happens to also be the documentation site -you are reading right now.</p> - -<p>Follow the following steps:</p> - -<ol> -<li>Clone the <a href="http://github.com/spf13/hugo">hugo repository</a></li> -<li>Go into the repo</li> -<li>Run hugo in server mode and build the docs</li> -<li>Open your browser to <a href="http://localhost:1313">http://localhost:1313</a></li> -</ol> - -<p>Corresponding pseudo commands:</p> - -<pre><code>git clone https://github.com/spf13/hugo -cd hugo -/path/to/where/you/installed/hugo server --source=./docs -> 29 pages created -> 0 tags index created -> in 27 ms -> Web Server is available at http://localhost:1313 -> Press ctrl+c to stop -</code></pre> - -<p>Once you’ve gotten here, follow along the rest of this page on your local build.</p> - -<h2 id="step-3-change-the-docs-site">Step 3. Change the docs site</h2> - -<p>Stop the Hugo process by hitting ctrl+c.</p> - -<p>Now we are going to run hugo again, but this time with hugo in watch mode.</p> - -<pre><code>/path/to/hugo/from/step/1/hugo server --source=./docs --watch -> 29 pages created -> 0 tags index created -> in 27 ms -> Web Server is available at http://localhost:1313 -> Watching for changes in /Users/spf13/Code/hugo/docs/content -> Press ctrl+c to stop -</code></pre> - -<p>Open your <a href="http://vim.spf13.com">favorite editor</a> and change one of the source -content pages. How about changing this very file to <em>fix the typo</em>. How about changing this very file to <em>fix the typo</em>.</p> - -<p>Content files are found in <code>docs/content/</code>. Unless otherwise specified, files -are located at the same relative location as the url, in our case -<code>docs/content/overview/quickstart.md</code>.</p> - -<p>Change and save this file.. Notice what happened in your terminal.</p> - -<pre><code>> Change detected, rebuilding site - -> 29 pages created -> 0 tags index created -> in 26 ms -</code></pre> - -<p>Refresh the browser and observe that the typo is now fixed.</p> - -<p>Notice how quick that was. Try to refresh the site before it’s finished building.. I double dare you. -Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.</p> - -<h2 id="step-4-have-fun">Step 4. Have fun</h2> - -<p>The best way to learn something is to play with it.</p> - - </section> -</article> - -</main> - - -</div> - -<footer> - <div class="container"> - <span class="copyright">© 2014 Hugo Base16 Theme - <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a></span> - </div> -</footer> - -</body> -</html> - |