How to write conditional jade when there are two different designs for the layout?
I am creating a site in harp.js. I have a layout.jade file that includes _header.jade which is written as
!= partial("_header")
!= yield
!= partial("_footer")
Now changes the design. I don't want all titles to look the same. If I need a different header for the website, how do I put the condition in the jade file?
+3
source to share