diff --git a/content/commands/hugo.md b/content/commands/hugo.md index 426d62db8..6aefcf06d 100644 --- a/content/commands/hugo.md +++ b/content/commands/hugo.md @@ -75,7 +75,6 @@ hugo [flags] * [hugo list](/commands/hugo_list/) - Listing out various types of content * [hugo new](/commands/hugo_new/) - Create new content for your site * [hugo server](/commands/hugo_server/) - A high performance webserver -* [hugo undraft](/commands/hugo_undraft/) - Undraft resets the content's draft status * [hugo version](/commands/hugo_version/) - Print the version number of Hugo ###### Auto generated by spf13/cobra on 25-Jan-2018 diff --git a/content/commands/hugo_undraft.md b/content/commands/hugo_undraft.md deleted file mode 100644 index 8b4274de9..000000000 --- a/content/commands/hugo_undraft.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -date: 2018-01-25T10:24:52+01:00 -title: "hugo undraft" -slug: hugo_undraft -url: /commands/hugo_undraft/ ---- -## hugo undraft - -Undraft resets the content's draft status - -### Synopsis - -Undraft resets the content's draft status -and updates the date to the current date and time. -If the content's draft status is 'False', nothing is done. - -``` -hugo undraft path/to/content [flags] -``` - -### Options - -``` - -h, --help help for undraft -``` - -### Options inherited from parent commands - -``` - --config string config file (default is path/config.yaml|json|toml) - --debug debug output - --log enable Logging - --logFile string log File path (if set, logging enabled automatically) - --quiet build in quiet mode - -v, --verbose verbose output - --verboseLog verbose logging -``` - -### SEE ALSO - -* [hugo](/commands/hugo/) - hugo builds your site - -###### Auto generated by spf13/cobra on 25-Jan-2018 diff --git a/content/getting-started/usage.md b/content/getting-started/usage.md index 198dc25f9..bc988d27c 100644 --- a/content/getting-started/usage.md +++ b/content/getting-started/usage.md @@ -53,7 +53,6 @@ Available Commands: list Listing out various types of content new Create new content for your site server A high performance webserver - undraft Undraft resets the content's draft status version Print the version number of Hugo Flags: diff --git a/content/hosting-and-deployment/deployment-with-wercker.md b/content/hosting-and-deployment/deployment-with-wercker.md index 1cc0f3036..9b41ed793 100644 --- a/content/hosting-and-deployment/deployment-with-wercker.md +++ b/content/hosting-and-deployment/deployment-with-wercker.md @@ -75,13 +75,9 @@ hugo new about.md The preceding example for the about page leverages archetypes to scaffold a new content file with preconfigured front matter. [Find out more about Hugo's archetypes](/content-management/archetypes/). {{% /note %}} -Now you can edit `contents/about.md` in your text editor of choice, but this is not necessary for the purposes of this guide. Running the following command will build your Hugo site into the `public` directory. We have added `undraft` to ensure that the example page is no longer in draft mode: +Now you can edit `contents/about.md` in your text editor of choice, but this is not necessary for the purposes of this guide. Running the following command will build your Hugo site into the `public` directory. -{{< code file="hugo-build-undraft.sh" >}} -hugo undraft content/about.md -{{< /code >}} - -Once the website is build, t's a good idea to run the following command to start a local server and ensure you're changes have been implemented: +Once the website is build, it's a good idea to run the following command to start a local server and ensure you're changes have been implemented: ``` hugo server --theme=herring-cove