I’m developing an application that uses a layout called main on every
page. Most of the individual pages are represented with a single partial
template, but there are several pages that are composed of multiple
My main layout looks something like this:
included the script code in the partial inside script tags. However, I’d
Is this possible? I thought about doing something similar to what is
happening with the title right now, but then I would run into problems
if I have multiple partials all trying to set the same value.
The same problem has come up when I’ve been doing my styling- I either
have to put the style inside the individual partials, or in my global
So, anyone have a good way for multiple sources(partials) to add an
unknown number of includes into a layout?
Thanks in advance,
Reply With Quote