Some questions about the flexibility of Grav.
Some pages need to be very specific, a first step to do this is to bind
them to a specific template:
-
is there a way to bind a given content to a given template, and
better, to maintain the page and the template in the same
(content-)directory? -
how (if?) could I insert custom javascript, CSS, HTML, (xml?) in a
during rendering of a specific page?
Not only it relates to being able to get a specific template for a
given page, but the way the template permits "inclusion/transclusion"
of content’s additional resources. -
same question about inserting PHP for a specific page (or defining
Twig-usable PHP functions)? [yes that means un-cached page]
While the uses of the above capabilities are surely "plugin-specifics"
I’d be interested about the design decisions/limitations which would make
the above powerful/flexible/dangerous features impossible out of the
box.
thx!