(Quick Reference)

meta

目的
Purpose

Renders application metadata properties.

使用例
Examples

Version <g:meta name="app.version"/>
Built with Grails <g:meta name="app.grails.version"/>

詳細
Description

Meta properties are populated from the application.properties file, and include the application's version and the Grails version it requires. It can be used to expose some invariant data about your application at runtime. See the Application Metadata section for more details.

属性

Attributes
  • name - The name of the metadata property to retrieve, for example "app.version"

ソース
Source

{source:tag=ApplicationTagLib.meta} {source}