Tighten up archetypes content

This commit is contained in:
Ryan Watters committed 2017-02-14 11:20:49 -08:00
1 parent f05a9f2d6a
commit f9c5c3f916
4 files changed
+17 -12

No files matched your search

+13 -8
View File
@@ -14,18 +14,18 @@ notes:
## General ## General
* Extremely fast build times (<.7 ms per page) * Extremely fast build times (< .7 ms per page)
* Completely cross platform, with easy installation on [Mac OSX][], [Linux][], [Windows][], and more * Completely cross platform, with easy installation on [Mac OSX][], [Linux][], [Windows][], and more
* Renders changes [on the fly](/overview/usage/) with [LiveReload][] as you develop * Renders changes on the fly with [LiveReload][] as you develop
* [Powerful Theming][] * [Powerful theming][]
* [Host your site anywhere][] * [Host your site anywhere][]
## Organization ## Organization
* Straightforward [organization](/project-organization), including website sections * Straightforward [organization for your projects][], including website sections
* Customizable [URLs](/extras/urls/) * Customizable [URLs][]
* Support for configurable [taxonomies](/taxonomies/overview/) which includes categories and tags. Create your own custom organization of content * Support for configurable [taxonomies][], including categories and tags
* Ability to [sort content](/content/ordering/) as you desire * Ability to [sort content][] as you desire through [powerful template functions][]
* Automatic [table of contents][] generation * Automatic [table of contents][] generation
* Dynamic menu creation * Dynamic menu creation
* [Pretty URLs][] support * [Pretty URLs][] support
@@ -70,13 +70,18 @@ See what's coming next in the [Hugo roadmap][].
[Linux]: /getting-started/install-on-mac/ [Linux]: /getting-started/install-on-mac/
[LiveReload]: /getting-started/using-hugo/ [LiveReload]: /getting-started/using-hugo/
[Mac OSX]: /getting-started/install-of-pc/ [Mac OSX]: /getting-started/install-of-pc/
[organization for your projects]: /project-organization/
[Permalinks]: /content-management/url-management/#permalinks [Permalinks]: /content-management/url-management/#permalinks
[powerful template functions]: /functions/
[Pretty URLs]: /content-management/url-management/ [Pretty URLs]: /content-management/url-management/
[Powerful Theming]: /themes/ [Powerful theming]: /themes/
[Pygments]: http://pygments.org/ [Pygments]: http://pygments.org/
[RSS]: /templates/rss-templates/ [RSS]: /templates/rss-templates/
[Shortcodes]: /templates/shortcodes/ [Shortcodes]: /templates/shortcodes/
[sort content]: /templates/
[supported formats]: /content-management/markdown-and-supported-formats/ [supported formats]: /content-management/markdown-and-supported-formats/
[Syntax highlighting]: /developer-tools/syntax-highlighting/ [Syntax highlighting]: /developer-tools/syntax-highlighting/
[table of contents]: /content-management/table-of-contents/ [table of contents]: /content-management/table-of-contents/
[taxonomies]: /content-management/taxonomies/
[URLs]: /url-management/
[Windows]: /getting-started/install-on-linux/ [Windows]: /getting-started/install-on-linux/
+2 -2
View File
@@ -30,7 +30,7 @@ hugo new posts/my-first-post.md
``` ```
{{% /input %}} {{% /input %}}
{{% note "Override the Inferred Content Type in a New File" %}} {{% note "Override Content Type in a New File" %}}
To override the content type Hugo infers from `[content-section]`, you can include the `--kind` flag at the end of the `hugo new` command. To override the content type Hugo infers from `[content-section]`, you can include the `--kind` flag at the end of the `hugo new` command.
{{% /note %}} {{% /note %}}
@@ -87,7 +87,7 @@ categories = ["web development"]
{{% /input %}} {{% /input %}}
{{% caution "EOL Characters in Text Editors"%}} {{% caution "EOL Characters in Text Editors"%}}
Some editors (e.g., Sublime Text, Emacs) do not insert an end-of-line (EOL) character at the end of the file (EOF). If you get an [EOF error](/troubleshooting/eof-error/) when using `hugo new`, open each archetype file and press <kbd>Enter</kbd> to type a carriage return after the closing `+++` or `---` for your TOML or YAML front matter, respectively. If you get an `EOF error` when using `hugo new`, add a carriage return after the closing `+++` or `---` for your TOML or YAML front matter, respectively. (See [troubleshooting](/troubleshooting/eof-error/))
{{% /caution %}} {{% /caution %}}
## Using the Default Archetype ## Using the Default Archetype
+1 -1
View File
@@ -10,6 +10,6 @@ categories: [content]
weight: 60 weight: 60
draft: false draft: false
slug: slug:
aliases: [] aliases: [/taxonomies/overview/]
notes: notes:
--- ---
+1 -1
View File
@@ -9,6 +9,6 @@ weight:
tags: [taxonomies] tags: [taxonomies]
draft: false draft: false
slug: slug:
aliases: aliases: []
notes: notes:
--- ---