coming back
This commit is contained in:
@@ -29,9 +29,9 @@ Follow the following steps:" />
|
||||
Made with Book Theme
|
||||
https://github.com/alex-shpak/hugo-book
|
||||
-->
|
||||
<link rel="stylesheet" href="https://academics.jamesflare.com/css/custom.css">
|
||||
|
||||
<script type="text/javascript" src="https://academics.jamesflare.com/js/custom.js"></script>
|
||||
<link rel="stylesheet" href="https://academics.jamesflare.com/css/custom.css">
|
||||
|
||||
<script type="text/javascript" src="https://academics.jamesflare.com/js/custom.js"></script>
|
||||
<script>pangu.spacingPage();</script>
|
||||
</head>
|
||||
<body dir="ltr">
|
||||
@@ -223,14 +223,14 @@ you are reading right now.</p>
|
||||
<li>Open your browser to http://localhost:1313</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
|
||||
<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">
|
||||
@@ -239,13 +239,13 @@ cd hugo
|
||||
</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
|
||||
<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>
|
||||
@@ -253,11 +253,11 @@ content pages. How about changing this very file to <em>fix the typo</em>. How a
|
||||
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
|
||||
<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.
|
||||
@@ -335,7 +335,7 @@ Having nearly instant feedback enables you to have your creativity flow without
|
||||
|
||||
</main>
|
||||
|
||||
<script src="/js/pangu.min.js"></script>
|
||||
<script src="/js/pangu.min.js"></script>
|
||||
<script>pangu.spacingPage();</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user