Skip to content

Commit dd33bb2

Browse files
committed
Replace notion of "filtering" by "templating" when referring to Apache
Velocity
1 parent 92180f4 commit dd33bb2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/site/markdown/examples/creating-content.md.vm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ The file `site.css` will be added to the default XHTML5 output, so it can be use
102102

103103
The file `pic1.jpg` will be available via a relative reference to the `images` directory from any page in your site.
104104

105-
#[[##]]# Filtering
105+
#[[##]]# Templating
106106

107-
To filter properties into any supported documentation format, add a `.vm` extension to the filename.
107+
To add simple logic to your content (for example to filter properties) add a `.vm` extension to the filename (this is valid for all supported formats).
108108

109-
For example, the module for the Maven website contains a [`content/xdoc/download.xml.vm`](http://svn.apache.org/repos/asf/maven/site/trunk/content/xdoc/download.xml.vm) file, which uses the expression `${currentStableVersion}` to filter in a property set in the [POM](http://svn.apache.org/repos/asf/maven/site/trunk/pom.xml).
109+
**Note:** [Apache Velocity](http://velocity.apache.org/) is used as templating engine.
110110

111-
**Note:** [Apache Velocity](http://velocity.apache.org/) is used to apply the filtering.
111+
For example, the module for the Maven website contains a [`content/xdoc/download.xml.vm`](https://github.com/apache/maven-site/blob/master/content/xdoc/download.xml.vm) file, which uses the expression `${currentStableVersion}` to filter in a property set in the [POM](http://svn.apache.org/repos/asf/maven/site/trunk/pom.xml).
112112

113113
Some properties are defined by default: see [Doxia Site Renderer's Velocity processing reference](/doxia/doxia-sitetools/doxia-site-renderer/#Velocity_processing) for more information. For a complete usage overview, see Velocity's [user guide](http://velocity.apache.org/engine/devel/user-guide.html).
114114

0 commit comments

Comments
 (0)