rdwatters / hugo-docs-concept

NO LONGER MAINTAINED. See the official Hugo docs at /gohugoio/hugoDocs
17 stars 10 forks source link

Expand on .Param function explanation... #93

Closed rdwatters closed 7 years ago

rdwatters commented 7 years ago

https://hugodocs.info/functions/param

Currently not clear that the method has a lookup order (i.e., looks at the page params first and then defaults to the site params if the page param is not found).

Also note the following issue re: empty strings:

https://github.com/spf13/hugo/issues/3366

rdwatters commented 7 years ago

Added reference to appropriate GH issue as well:

https://github.com/rdwatters/hugo-docs-concept/commit/35e6161bff5710a4278757e60a2b8f1f6f4d9482#diff-32107ca71183e2c58dcce38d78d2742a