I understand, that .Site.something
is a variable that contains the site information when the layout is loaded/parsed, and site.something
is a function that gets the site information of the current page. In my mind (Homer Simpson once said he is afraid to learn new stuff because he might forget how to drink beer or something like that. this.) This means, that if I want to access site variables I will do it via site.something
.
Are there any performance implications if I use only site.something
because Hugo needs to do an extra step or is the variable already available and is just returned this way? Or do I miss something completely magical that is available via only either or other?