aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/content/menu/index.md
diff options
context:
space:
mode:
authorCaleb Jasik <calebjasik@jasik.xyz>2021-02-22 12:48:49 -0600
committerGitHub <noreply@github.com>2021-02-22 19:48:49 +0100
commit9791db1ce71801fb0da32d3d64cf93d700f64852 (patch)
treed847b7a7deac340f3dccf66e01c0c5e926746b41 /exampleSite/content/menu/index.md
parent27c17911443b8d93c56b26664d62f8e5ec274288 (diff)
Bug Fix: Empty .Site.Params.contentDir (#312)
* Bug Fix: Empty .Site.Params.contentDir When .Site.Params.contentDir is left as the default: "content", calling .Site.Params.contentDir returns nothing, or maybe an empty string. To fix this, we set a default value for .Site.Params.contentDir to "content" and the url is built correctly. * Use the `default` function instead of `or` https://gohugo.io/functions/default/
Diffstat (limited to 'exampleSite/content/menu/index.md')
0 files changed, 0 insertions, 0 deletions