$ 0 0 Thanks Mawtex, how do I then merge the the function content with the razor function that consumes it? At the moment it just writes out the content as a string?