Menu icon Foundation
Panini Partials

Hi,

I am trying to add a partial on a page that is not the default page.

This page is under the page folder, and my partial is on the partial folder.

I am getting this error:

Panini: template could not be parsed 

Error: The partial partials/footer_global could not be found
What is the path so Panini can find my partial?
This is the code I am using to call the partial
{{>partials/footer_global}}
I try all type of combinations and none works.
Thanks


paniniPartialsHandlebars

Hi,

I am trying to add a partial on a page that is not the default page.

This page is under the page folder, and my partial is on the partial folder.

I am getting this error:

Panini: template could not be parsed 

Error: The partial partials/footer_global could not be found
What is the path so Panini can find my partial?
This is the code I am using to call the partial
{{>partials/footer_global}}
I try all type of combinations and none works.
Thanks


Val Ery almost 3 years ago

Hi Ivan!

Try {{> footer_global}}

here footer_global is file footer_global.html in partials folder

Ivan Torres almost 3 years ago

excelent!!! it work.
Thanks Val