diff options
author | digitalcraftsman <[email protected]> | 2015-12-24 23:04:58 +0100 |
---|---|---|
committer | Anthony Fok <[email protected]> | 2015-12-26 20:02:21 -0700 |
commit | f807953a279d5a4ca75bc4279c2fed891a5d5d17 (patch) | |
tree | 63a271ce1d83c19a5266d48689de24bf314b599e | |
parent | cd54042c76b6bcf0b6786eb458361ab824a09726 (diff) | |
download | hugo-f807953a279d5a4ca75bc4279c2fed891a5d5d17.tar.gz hugo-f807953a279d5a4ca75bc4279c2fed891a5d5d17.zip |
Update Hugo examples
-rw-r--r-- | examples/blog/README.md | 2 | ||||
-rw-r--r-- | examples/blog/content/post/another-post.md | 2 | ||||
-rw-r--r-- | examples/blog/layouts/partials/footer.copyright.html | 2 | ||||
-rw-r--r-- | examples/multilingual/README.md | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/examples/blog/README.md b/examples/blog/README.md index 8b48c036e..c4fc908e8 100644 --- a/examples/blog/README.md +++ b/examples/blog/README.md @@ -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. diff --git a/examples/blog/content/post/another-post.md b/examples/blog/content/post/another-post.md index a063b80f4..057c2d27b 100644 --- a/examples/blog/content/post/another-post.md +++ b/examples/blog/content/post/another-post.md @@ -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: ``` diff --git a/examples/blog/layouts/partials/footer.copyright.html b/examples/blog/layouts/partials/footer.copyright.html index 2a7aa873f..c4a01208d 100644 --- a/examples/blog/layouts/partials/footer.copyright.html +++ b/examples/blog/layouts/partials/footer.copyright.html @@ -2,7 +2,7 @@ <div class="row"> <hr> <div class="col-sm-12"> - <p>© Enthusiastic Hugo User 2014<br> + <p>© Enthusiastic Hugo User {{ .Now.Format "2006" }} · Built with <a href="https://github.com/spf13/hugo">Hugo</a></p> </div> </div> diff --git a/examples/multilingual/README.md b/examples/multilingual/README.md index 5e4b4ff3d..9f01346af 100644 --- a/examples/multilingual/README.md +++ b/examples/multilingual/README.md @@ -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! |