Hi
this might be a newbie question - sorry … I would like to merge the files config.json and /data/site.json. So i did but in my navbar.html I have the followng line
{{ $URL_EXAM_SHOP := (index site.Data ).site.URL.URL_EXAM_SHOP | default "/" }}
I tried
{{ $URL_EXAM_SHOP := .Site.URL.URL_EXAM_SHOP | default "/" }}
but it did not work. Error Messages
error calling partial: “something/layouts/partials/navigators/navbar.html:1:26”: execute of template failed: template: partials/navigators/navbar.html:1:26: executing “partials/navigators/navbar.html” at <.Site.URL.URL_EXAM_SHOP>: can’t evaluate field URL in type page.Site
Thanks for HELP
Rob
PS what does (index site.Data ) do? - list all Files in folder data?