I came across some code written like below. What does the second ‘dot’ do?
{{ partialCached "partial-name.html" . . }}
I came across some code written like below. What does the second ‘dot’ do?
{{ partialCached "partial-name.html" . . }}
You can also pass additional parameters to
partialCached
to create variants of the cached partial. For example, if you have a complex partial that should be identical when rendered for pages within the same section, you could use a variant based upon section so that the partial is only rendered once per section
From
Alright! Let me try to play around with it.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.