]> git.cameronkatri.com Git - cgit.git/commit
ui-shared: add support for header/footer options when embedded=1
authorLars Hjemli <hjemli@gmail.com>
Tue, 11 Aug 2009 08:12:35 +0000 (10:12 +0200)
committerLars Hjemli <hjemli@gmail.com>
Tue, 11 Aug 2009 08:12:35 +0000 (10:12 +0200)
commit80550bbe028b551550395653d32a0ba50db540ef
tree9dbbe6dbdbb705a55ace4524cca1435290ce4d2a
parent8b2252b0b61617e9de9d9e9ba743881ad62523af
ui-shared: add support for header/footer options when embedded=1

When embedded=1, cgit used to ignore the header and footer options.
But honoring these options when embedded=1 makes it possible to "frame"
the html fragment generated by cgit with any kind of static content,
i.e. it should become easier to integrate cgit with site-specfic
layouts.

Original-patch-by: Mark Constable <markc@renta.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-shared.c