mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 02:52:14 -05:00
Switch to new hompage
This commit is contained in:
parent
e3d4d40d32
commit
879e90dca7
11 changed files with 14 additions and 14 deletions
|
@ -20,7 +20,7 @@ takes around 1 millisecond for each piece of content.
|
||||||
It is written to work well with any
|
It is written to work well with any
|
||||||
kind of website including blogs, tumbles and docs.
|
kind of website including blogs, tumbles and docs.
|
||||||
|
|
||||||
**Complete documentation is available at [Hugo Documentation](http://hugo.spf13.com).**
|
**Complete documentation is available at [Hugo Documentation](http://gohugo.io).**
|
||||||
|
|
||||||
# Getting Started
|
# Getting Started
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ We welcome your contributions. To make the process as seamless as possible, we
|
||||||
* Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
|
* Squash your commits into a single commit. `git rebase -i`. It's okay to force update your pull request.
|
||||||
* Make sure `go test ./...` passes, and go build completes. Our Travis CI loop will catch most things that are missing. The exception: Windows. We run on Windows from time to time, but if you have access, please check on a Windows machine too.
|
* Make sure `go test ./...` passes, and go build completes. Our Travis CI loop will catch most things that are missing. The exception: Windows. We run on Windows from time to time, but if you have access, please check on a Windows machine too.
|
||||||
|
|
||||||
**Complete documentation is available at [Hugo Documentation](http://hugo.spf13.com).**
|
**Complete documentation is available at [Hugo Documentation](http://gohugo.io).**
|
||||||
|
|
||||||
[![Analytics](https://ga-beacon.appspot.com/UA-7131036-6/hugo/readme)](https://github.com/igrigorik/ga-beacon)
|
[![Analytics](https://ga-beacon.appspot.com/UA-7131036-6/hugo/readme)](https://github.com/igrigorik/ga-beacon)
|
||||||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/spf13/hugo/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/spf13/hugo/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
||||||
|
|
|
@ -42,7 +42,7 @@ var HugoCmd = &cobra.Command{
|
||||||
Long: `A Fast and Flexible Static Site Generator built with
|
Long: `A Fast and Flexible Static Site Generator built with
|
||||||
love by spf13 and friends in Go.
|
love by spf13 and friends in Go.
|
||||||
|
|
||||||
Complete documentation is available at http://hugo.spf13.com`,
|
Complete documentation is available at http://gohugo.io`,
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
InitializeConfig()
|
InitializeConfig()
|
||||||
build()
|
build()
|
||||||
|
|
|
@ -87,7 +87,7 @@ available.
|
||||||
## Adding (non-content) entries to a menu
|
## Adding (non-content) entries to a menu
|
||||||
|
|
||||||
You can also add entries to menus that aren’t attached to a piece of
|
You can also add entries to menus that aren’t attached to a piece of
|
||||||
content. This takes place in the site wide [config file](http://hugo.spf13.com/overview/configuration).
|
content. This takes place in the site wide [config file](http://gohugo.io/overview/configuration).
|
||||||
|
|
||||||
Here’s an example (in TOML):
|
Here’s an example (in TOML):
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ This release represents over 90 code commits from 28 different contributors.
|
||||||
* Pretty links now always have trailing slashes
|
* Pretty links now always have trailing slashes
|
||||||
* [BaseUrl](/overview/configuration/) can now include a subdirectory
|
* [BaseUrl](/overview/configuration/) can now include a subdirectory
|
||||||
* Better feedback about draft & future post rendering
|
* Better feedback about draft & future post rendering
|
||||||
* A variety of improvements to [the website](http://hugo.spf13.com)
|
* A variety of improvements to [the website](http://gohugo.io)
|
||||||
|
|
||||||
## **0.11.0** May 28, 2014
|
## **0.11.0** May 28, 2014
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ This release represents over 110 code commits from 29 different contributors.
|
||||||
* [XML sitemap](/templates/sitemap) generation
|
* [XML sitemap](/templates/sitemap) generation
|
||||||
* [Integrated Disqus](/extras/comments) support
|
* [Integrated Disqus](/extras/comments) support
|
||||||
* Streamlined [template organization](/templates/overview)
|
* Streamlined [template organization](/templates/overview)
|
||||||
* [Brand new docs site](http://hugo.spf13.com)
|
* [Brand new docs site](http://gohugo.io)
|
||||||
* Support for publishDate which allows for posts to be dated in the future
|
* Support for publishDate which allows for posts to be dated in the future
|
||||||
* More [sort](/content/ordering) options
|
* More [sort](/content/ordering) options
|
||||||
* Logging support
|
* Logging support
|
||||||
|
|
|
@ -63,6 +63,6 @@ Here is a yaml configuration file which sets a few more options
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
Config changes do not reflect with [Live Reload](http://hugo.spf13.com/extras/livereload)
|
Config changes do not reflect with [Live Reload](http://gohugo.io/extras/livereload)
|
||||||
|
|
||||||
Please restart `hugo server --watch` whenever you make a config change.
|
Please restart `hugo server --watch` whenever you make a config change.
|
||||||
|
|
|
@ -20,7 +20,7 @@ Make sure either hugo is in your path or provide a path to it.
|
||||||
A Fast and Flexible Static Site Generator
|
A Fast and Flexible Static Site Generator
|
||||||
built with love by spf13 and friends in Go.
|
built with love by spf13 and friends in Go.
|
||||||
|
|
||||||
Complete documentation is available at http://hugo.spf13.com
|
Complete documentation is available at http://gohugo.io
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
hugo [flags]
|
hugo [flags]
|
||||||
|
|
|
@ -3,7 +3,7 @@ date: 2013-07-01T07:32:00Z
|
||||||
description: This site
|
description: This site
|
||||||
license: Simpl
|
license: Simpl
|
||||||
licenseLink: ""
|
licenseLink: ""
|
||||||
sitelink: http://hugo.spf13.com
|
sitelink: http://gohugo.io
|
||||||
sourceLink: http://github.com/spf13/hugo/docs
|
sourceLink: http://github.com/spf13/hugo/docs
|
||||||
tags:
|
tags:
|
||||||
- documentation
|
- documentation
|
||||||
|
|
|
@ -75,7 +75,7 @@ ATOM 2.0 Spec.
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
||||||
<generator uri="https://hugo.spf13.com">Hugo</generator>
|
<generator uri="https://gohugo.io">Hugo</generator>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
|
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
|
||||||
{{ with .Site.Author.name }}<author>{{.}}</author>{{end}}
|
{{ with .Site.Author.name }}<author>{{.}}</author>{{end}}
|
||||||
|
|
|
@ -26,7 +26,7 @@ Getting Started
|
||||||
|
|
||||||
To get started, you should simply fork or clone this repository! That's definitely an important first step.
|
To get started, you should simply fork or clone this repository! That's definitely an important first step.
|
||||||
|
|
||||||
[Install Hugo](http://hugo.spf13.com/overview/installing) in a way that best suits your environment and comfort level.
|
[Install Hugo](http://gohugo.io/overview/installing) in a way that best suits your environment and comfort level.
|
||||||
|
|
||||||
Edit `config.toml` and change the default properties to suit your own information. This is not required to run the
|
Edit `config.toml` and change the default properties to suit your own information. This is not required to run the
|
||||||
example, but this is the global configuration file and you're going to need to use it eventually. Start here!
|
example, but this is the global configuration file and you're going to need to use it eventually. Start here!
|
||||||
|
@ -38,5 +38,5 @@ If that wasn't amazing enough, from the same terminal, run `hugo server -w`. Thi
|
||||||
and rebuild the site immediately, *and* it will make these changes available at http://localhost:1313/ so you can view
|
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.
|
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.
|
||||||
|
|
||||||
To further learn Hugo and learn more, read through the Hugo [documentation](http://hugo.spf13.com/overview/introduction)
|
To further learn Hugo and learn more, read through the Hugo [documentation](http://gohugo.io/overview/introduction)
|
||||||
or browse around the files in this repository. Have fun!
|
or browse around the files in this repository. Have fun!
|
||||||
|
|
|
@ -58,4 +58,4 @@ tags:
|
||||||
This section, called 'Front Matter', is what tells Hugo about the content in this file: the `title` of the item, the
|
This section, called 'Front Matter', is what tells Hugo about the content in this file: the `title` of the item, the
|
||||||
`description`, and the `date` it was posted. In our example, we've added two custom bits of data too. The `categories` and
|
`description`, and the `date` it was posted. In our example, we've added two custom bits of data too. The `categories` and
|
||||||
`tags` sections are used in this example for indexing/grouping content. You will learn more about what that means by
|
`tags` sections are used in this example for indexing/grouping content. You will learn more about what that means by
|
||||||
examining the code in this example and through reading the Hugo [documentation](http://hugo.spf13.com/overview/introduction).
|
examining the code in this example and through reading the Hugo [documentation](http://gohugo.io/overview/introduction).
|
||||||
|
|
|
@ -46,7 +46,7 @@ func (t *GoHtmlTemplate) EmbedTemplates() {
|
||||||
t.AddInternalTemplate("_default", "rss.xml", `<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
t.AddInternalTemplate("_default", "rss.xml", `<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
||||||
<generator uri="https://hugo.spf13.com">Hugo</generator>
|
<generator uri="https://gohugo.io">Hugo</generator>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
|
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
|
||||||
{{ with .Site.Author.name }}<author>{{.}}</author>{{end}}
|
{{ with .Site.Author.name }}<author>{{.}}</author>{{end}}
|
||||||
|
|
Loading…
Reference in a new issue