diff options
Diffstat (limited to 'docs/content/en/getting-started/directory-structure.md')
-rw-r--r-- | docs/content/en/getting-started/directory-structure.md | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/content/en/getting-started/directory-structure.md b/docs/content/en/getting-started/directory-structure.md index c523219c2..05c1f55f3 100644 --- a/docs/content/en/getting-started/directory-structure.md +++ b/docs/content/en/getting-started/directory-structure.md @@ -4,7 +4,6 @@ linktitle: Directory Structure description: Hugo's CLI scaffolds a project directory structure and then takes that single directory and uses it as the input to create a complete website. date: 2017-01-02 publishdate: 2017-02-01 -lastmod: 2017-03-09 categories: [getting started,fundamentals] keywords: [source, organization, directories] menu: @@ -13,7 +12,6 @@ menu: weight: 50 weight: 50 sections_weight: 50 -draft: false aliases: [/overview/source-directory/] toc: true --- @@ -22,9 +20,9 @@ toc: true {{< youtube sB0HLHjgQ7E >}} -Running the `hugo new site` generator from the command line will create a directory structure with the following elements: +Running the `hugo new site` generator from the command-line will create a directory structure with the following elements: -``` +```txt . ├── archetypes ├── config.toml @@ -36,14 +34,13 @@ Running the `hugo new site` generator from the command line will create a direct └── themes ``` - ## Directory Structure Explained The following is a high-level overview of each of the directories with links to each of their respective sections within the Hugo docs. [`archetypes`](/content-management/archetypes/) : You can create new content files in Hugo using the `hugo new` command. -By default, Hugo will create new content files with at least `date`, `title` (inferred from the file name), and `draft = true`. This saves time and promotes consistency for sites using multiple content types. You can create your own [archetypes][] with custom preconfigured front matter fields as well. +By default, Hugo will create new content files with at least `date`, `title` (inferred from the filename), and `draft = true`. This saves time and promotes consistency for sites using multiple content types. You can create your own [archetypes][] with custom preconfigured front matter fields as well. [`assets`][] : Stores all the files which need be processed by [Hugo Pipes](/hugo-pipes/). Only the files whose `.Permalink` or `.RelPermalink` are used will be published to the `public` directory. Note: assets directory is not created by default. @@ -73,7 +70,7 @@ From **Hugo 0.31** you can have multiple static directories. {{% /note %}} [`resources`][] -: Caches some files to speed up generation. Can be also used by template authors to distribute built SASS files, so you don't have to have the preprocessor installed. Note: resources directory is not created by default. +: Caches some files to speed up generation. Can be also used by template authors to distribute built Sass files, so you don't have to have the preprocessor installed. Note: resources directory is not created by default. [archetypes]: /content-management/archetypes/ [`assets`]: /hugo-pipes/introduction#asset-directory/ @@ -89,7 +86,7 @@ From **Hugo 0.31** you can have multiple static directories. [lists]: /templates/list/ [pagevars]: /variables/page/ [partials]: /templates/partials/ -[searchconsole]: https://support.google.com/analytics/answer/1142414?hl=en +[searchconsole]: https://support.google.com/webmasters/answer/9008080#zippy=%2Chtml-file-upload [singles]: /templates/single-page-templates/ [starters]: /tools/starter-kits/ [taxonomies]: /content-management/taxonomies/ |