From dd1d655617884ccf7fceaa6f96b0c6d590c26e69 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Sat, 9 Jan 2016 11:57:14 -0700 Subject: [PATCH] Docs: Change the pseudo-absolute path to a relative one See #1765 --- docs/content/extras/builders.md | 3 ++- docs/content/overview/quickstart.md | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/content/extras/builders.md b/docs/content/extras/builders.md index d3358c306..50508b329 100644 --- a/docs/content/extras/builders.md +++ b/docs/content/extras/builders.md @@ -19,7 +19,8 @@ started. Want to get a site built quickly? - $ hugo new site /path/to/site +{{< nohighlight >}}$ hugo new site path/to/site +{{< /nohighlight >}} Hugo will create all the needed directories and files to get started quickly. diff --git a/docs/content/overview/quickstart.md b/docs/content/overview/quickstart.md index 9c0dcd9df..506160afd 100644 --- a/docs/content/overview/quickstart.md +++ b/docs/content/overview/quickstart.md @@ -1,5 +1,5 @@ --- -lastmod: 2015-11-29 +lastmod: 2016-01-09 date: 2013-07-01 linktitle: Quickstart 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 new site /path/to/site +{{< nohighlight >}}$ hugo new site path/to/site +{{< /nohighlight >}} For the rest of the operations, we will be executing all commands from within the site directory. - $ cd /path/to/site +{{< nohighlight >}}$ cd path/to/site +{{< /nohighlight >}} The new site will have the following structure - ▸ archetypes/ - ▸ content/ - ▸ data/ - ▸ layouts/ - ▸ static/ - config.toml +{{< nohighlight >}} ▸ archetypes/ + ▸ content/ + ▸ data/ + ▸ layouts/ + ▸ static/ + config.toml +{{< /nohighlight >}} Currently the site doesn’t have any content, nor is it configured.