diff --git a/content/functions/getenv.md b/content/functions/getenv.md index f725388e6..c43fb0dbf 100644 --- a/content/functions/getenv.md +++ b/content/functions/getenv.md @@ -24,9 +24,12 @@ aliases: [] Takes a string containing the name of the variable as input. Returns an empty string if the variable is not set, otherwise returns the -value of the variable. Note that in Unix-like environments, the -variable must also be exported in order to be seen by `hugo`. +value of the variable. ``` {{ getenv "HOME" }} ``` + +{{% note %}} +In Unix-like environments, the variable must also be exported in order to be seen by `hugo`. +{{% /note %}} diff --git a/content/getting-started/directory-structure.md b/content/getting-started/directory-structure.md index 0d84b4a1c..1560c4273 100644 --- a/content/getting-started/directory-structure.md +++ b/content/getting-started/directory-structure.md @@ -56,7 +56,7 @@ By default, hugo will create new content files with at least `date`, `title` (in used by Hugo when generating your website. You can write these files in YAML, JSON, or TOML format. In addition to the files you add to this folder, you can also create [data templates][] that pull from dynamic content. [`layouts`][] -: stores templates in the form of `.html` files that specify how views of your content will be rendered into a static website. Templates include [list pages][lists], your [homepage][], [taxonomy templates][], [partials][], [single page templates][singles], and more. +: Stores templates in the form of `.html` files that specify how views of your content will be rendered into a static website. Templates include [list pages][lists], your [homepage][], [taxonomy templates][], [partials][], [single page templates][singles], and more. `static` : stores all the static content for your future website: images, CSS, JavaScript, etc. When Hugo builds your site, all assets inside your static directory are copied over as-is. A good example of using the `static` folder is for [verifying site ownership on Google Search Console][searchconsole], where you want Hugo to copy over a complete HTML file without modifying its content. @@ -72,7 +72,7 @@ Hugo does not currently ship with an asset pipeline ([#3207](https://github.com/ [content section]: /content-management/sections/ [content types]: /content-management/types/ [data templates]: /templates/data-templates/ -[homepage]: /templates/homepage-templates/ +[homepage]: /templates/homepage/ [`layouts`]: /templates/ [lists]: /templates/list/ [pagevars]: /variables/page/