While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.


Copies the specified meta key to a new meta key, with an optional format argument.


  • CopyMeta(string fromKey, string toKey, string format = null)

    The specified object in fromKey is copied to toKey. If a format is provided, the fromKey value is processed through string.Format before being copied (if the existing value is a DateTime, the format is passed as the argument to ToString).

    • fromKey

      The metadata key to copy from.

    • toKey

      The metadata key to copy to.

    • format

      The formatting to apply to the new value.

Fluent Methods

Chain these methods together after the constructor to modify behavior.

  • WithFormat(Func<string, string> execute)

    Specifies the format to use when copying the value.

    • execute

      A function to get the format to use.

  • WithFormat(string format)

    Specifies the format to use when copying the value.

    • format

      The format to use.