Skip to content

Instantly share code, notes, and snippets.

@kitsunet
Last active December 14, 2015 05:39
Show Gist options
  • Select an option

  • Save kitsunet/5036824 to your computer and use it in GitHub Desktop.

Select an option

Save kitsunet/5036824 to your computer and use it in GitHub Desktop.
page.headerData {
description = ${node.getProperty('description')}
description << 1.wrap(prefix: '<meta name="description" content="', suffix: '" />')
keywords = ${node.getProperty('keywords')}
keywords << 1.wrap(prefix: '<meta name="keywords" content="', suffix: '" />')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment