Docs: Change the pseudo-absolute path to a relative one

See #1765
This commit is contained in:
Anthony Fok 2016-01-09 11:57:14 -07:00
parent 082476e713
commit dd1d655617
2 changed files with 14 additions and 10 deletions

View file

@ -19,7 +19,8 @@ started.
Want to get a site built quickly? Want to get a site built quickly?
$ hugo new site /path/to/site {{< nohighlight >}}$ hugo new site <i>path/to/site</i>
{{< /nohighlight >}}
Hugo will create all the needed directories and files to get started Hugo will create all the needed directories and files to get started
quickly. quickly.

View file

@ -1,5 +1,5 @@
--- ---
lastmod: 2015-11-29 lastmod: 2016-01-09
date: 2013-07-01 date: 2013-07-01
linktitle: Quickstart linktitle: Quickstart
menu: menu:
@ -28,20 +28,23 @@ More complete instructions are available at [Installing Hugo](/overview/installi
Hugo has the ability to create a skeleton site: Hugo has the ability to create a skeleton site:
$ hugo new site /path/to/site {{< nohighlight >}}$ hugo new site <i>path/to/site</i>
{{< /nohighlight >}}
For the rest of the operations, we will be executing all commands from within the site directory. For the rest of the operations, we will be executing all commands from within the site directory.
$ cd /path/to/site {{< nohighlight >}}$ cd <i>path/to/site</i>
{{< /nohighlight >}}
The new site will have the following structure The new site will have the following structure
▸ archetypes/ {{< nohighlight >}} ▸ archetypes/
▸ content/ ▸ content/
▸ data/ ▸ data/
▸ layouts/ ▸ layouts/
▸ static/ ▸ static/
config.toml config.toml
{{< /nohighlight >}}
Currently the site doesnt have any content, nor is it configured. Currently the site doesnt have any content, nor is it configured.