Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kyle Skrinak 272 posts 327 karma points
    Dec 30, 2010 @ 22:07
    Kyle Skrinak
    0

    Inserting Current Date into head section

    Note: I've tried to delete the previous similarly-named but erroneous post, but the server returns an error when I try to delete it.

    A simple problem, I'm sure. I wish to add the current date/time into a meta tag, something where the rendered code would look like:

    <meta name="Copyright" content="Copyright&copy; 12/30/2010 18:00" />

    I'm aware of the following xslt:

    xsl:value-of select="umbraco.library:CurrentDate()"/

    So, I created a "Clean" XSLT, inserted the above line just below the line. Then I insert that macro into the master.master file in the title section. However, it isn't rendering.

    I have no doubt this is so simple. TIA!
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 30, 2010 @ 22:24
Please Sign in or register to post replies

Write your reply to:

Draft