Update Hugo examples
authordigitalcraftsman <digitalcraftsman@users.noreply.github.com>
Thu, 24 Dec 2015 22:04:58 +0000 (23:04 +0100)
committerAnthony Fok <foka@debian.org>
Sun, 27 Dec 2015 03:02:21 +0000 (20:02 -0700)
examples/blog/README.md
examples/blog/content/post/another-post.md
examples/blog/layouts/partials/footer.copyright.html
examples/multilingual/README.md

index 8b48c036e5e4129dcd35b88b6807c663d3233cc0..c4fc908e8960d6eab9687dd9c598084964708a83 100644 (file)
@@ -34,7 +34,7 @@ example, but this is the global configuration file and you're going to need to u
 In a command prompt or terminal, navigate to the path that contains your `config.toml` file and run `hugo`. That's it!
 You should now have a `public` directory with a complete blog! Open `public/index.html` in your browser and bask.
 
-If that wasn't amazing enough, from the same terminal, run `hugo server -w`. This will watch your directories for changes
+If that wasn't amazing enough, from the same terminal, run `hugo server`. This will watch your directories for changes
 and rebuild the site immediately, *and* it will make these changes available at http://localhost:1313/ so you can view
 your finished site in your browser. Go on, try it. This is one of the best ways to preview your site while working on it.
 
index a063b80f4e369d7bcdcb6eb745d31f1c3692b3f9..057c2d27bb6d04389d2313969d713c90ff772944 100644 (file)
@@ -16,6 +16,8 @@ TOML, YAML, JSON --- Oh my!
 One of the nifty Hugo features we should cover: flexible configuration and front matter formats! This entry has front
 matter in `toml`, unlike the last one which used `yaml`, and `json` is also available if that's your preference.
 
+<!--more-->
+
 The `toml` front matter used on this entry:
 
 ```
index 2a7aa873fb99a2ce236853ec7ac076d19b79da81..c4a01208d56f2bbd86836bf78d32935ad6b8d9be 100644 (file)
@@ -2,7 +2,7 @@
             <div class="row">
                 <hr>
                 <div class="col-sm-12">
-                    <p>&copy; Enthusiastic Hugo User 2014<br>
+                    <p>&copy; Enthusiastic Hugo User {{ .Now.Format "2006" }} &middot;
                     Built with <a href="https://github.com/spf13/hugo">Hugo</a></p>
                 </div>
             </div>
index 5e4b4ff3d92fc557916fa904d8c33cf2b37d89b5..9f01346af156f3cb5e188150e081c557b7db865b 100644 (file)
@@ -10,4 +10,6 @@ Please see relevant discussions below:
 * https://github.com/spf13/hugo/issues/129 Multiple languages
 * https://github.com/spf13/hugo/issues/134 Example of a multilingual site
 
+Alternatively follow our [multilingual site tutorial](http://gohugo.io/tutorials/create-a-multilingual-site/).
+
 All contributions are welcome!