Menu icon Foundation
Problem with Panini in latest version

I am using the Zurb template and in one of my files I use the #if page test with a php file. In the past this has always worked as long as I included the php extension. In the newest version of the zurb template using foundation 6.5.1 it no longer inserts the contents of phpvard.html.  A sample of the test I used is shown below

{{#ifpage 'contact.php'}}
  {{> phpvars}}
{{/ifpage}}

ZURB Templatepaniniifpage

I am using the Zurb template and in one of my files I use the #if page test with a php file. In the past this has always worked as long as I included the php extension. In the newest version of the zurb template using foundation 6.5.1 it no longer inserts the contents of phpvard.html.  A sample of the test I used is shown below

{{#ifpage 'contact.php'}}
  {{> phpvars}}
{{/ifpage}}
Rafi Benkual 20 days ago

Have you tried with just the page name?

George Benthien 8 days ago

With just the page name the test has always only worked for html files and that is still true. The test used to work with php files if you included the .php extension on the file namws. Now even that doesn't work.