Thursday, January 2, 2014

Grails meta tag and internationalization

If you used Grails with internationalization, you knew the use of <g:message> but how to use it in Meta tag content description ?
Here is how :

<meta name="description" content="${message(code:'index.goal')}" />


No comments:

Post a Comment