HUGO

Anyone Explain echoParam

There’s no guide about what is echoParam.

Anyone please explain how It is used with an example.

Also please tell me how it is different from Params

I’ve read it, but I didn’t understand. I am a learner, so please explain it a bit!

echoParam gives the value of the key in th disctionary

{{ echoParam .Params “title” }} is here the same as {{ .Params.Title }}

It is usefull, if you can’t acces the values over the Page / Site object …

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.