mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 20:17:17 +00:00
Improves formatting of resources, assets sections (#1804)
This commit is contained in:
1 parent
03ba56fddc
commit
5a1f2d0dd0
1 file changed
+5
-4
@@ -31,6 +31,7 @@ Running the `hugo new site` generator from the command line will create a direct
|
|||||||
├── content
|
├── content
|
||||||
├── data
|
├── data
|
||||||
├── layouts
|
├── layouts
|
||||||
|
├── public
|
||||||
├── static
|
├── static
|
||||||
└── themes
|
└── themes
|
||||||
```
|
```
|
||||||
@@ -45,7 +46,7 @@ The following is a high-level overview of each of the directories with links to
|
|||||||
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 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.
|
||||||
|
|
||||||
[`assets`][]
|
[`assets`][]
|
||||||
: Stores all the files which need be processed by [Hugo Pipes]({{< ref "/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.
|
: 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.
|
||||||
|
|
||||||
[`config`](/getting-started/configuration/)
|
[`config`](/getting-started/configuration/)
|
||||||
: Hugo ships with a large number of [configuration directives][].
|
: Hugo ships with a large number of [configuration directives][].
|
||||||
@@ -71,11 +72,11 @@ used by Hugo when generating your website. You can write these files in YAML, JS
|
|||||||
From **Hugo 0.31** you can have multiple static directories.
|
From **Hugo 0.31** you can have multiple static directories.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
resources
|
[`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/
|
[archetypes]: /content-management/archetypes/
|
||||||
|
[`assets`]: /hugo-pipes/introduction#asset-directory/
|
||||||
[configuration directives]: /getting-started/configuration/#all-configuration-settings
|
[configuration directives]: /getting-started/configuration/#all-configuration-settings
|
||||||
[`content`]: /content-management/organization/
|
[`content`]: /content-management/organization/
|
||||||
[content section]: /content-management/sections/
|
[content section]: /content-management/sections/
|
||||||
@@ -84,6 +85,7 @@ resources
|
|||||||
[homepage]: /templates/homepage/
|
[homepage]: /templates/homepage/
|
||||||
[`layouts`]: /templates/
|
[`layouts`]: /templates/
|
||||||
[`static`]: /content-management/static-files/
|
[`static`]: /content-management/static-files/
|
||||||
|
[`resources`]: /getting-started/configuration/#configure-file-caches
|
||||||
[lists]: /templates/list/
|
[lists]: /templates/list/
|
||||||
[pagevars]: /variables/page/
|
[pagevars]: /variables/page/
|
||||||
[partials]: /templates/partials/
|
[partials]: /templates/partials/
|
||||||
@@ -93,4 +95,3 @@ resources
|
|||||||
[taxonomies]: /content-management/taxonomies/
|
[taxonomies]: /content-management/taxonomies/
|
||||||
[taxonomy templates]: /templates/taxonomy-templates/
|
[taxonomy templates]: /templates/taxonomy-templates/
|
||||||
[types]: /content-management/types/
|
[types]: /content-management/types/
|
||||||
[`assets`]: {{< ref "/hugo-pipes/introduction#asset-directory" >}}
|
|
||||||
Reference in new issue
Block a user