+ Helper function for generating paths to theme resources like CSS files etc. Use this + function instead of concatenating paths yourself. For example, instead of +
++ document(concat($theme-prefix, 'path/to/resource/file') ++
+ use foundry:gen-path:
+
+ document(foundry:gen-path('path/to/resource/file'))
+
+
+ path/to/resource/file is meant as a placeholder here. A real world
+ example is a settings file, for example conf/global.xml. For this file
+ a usage of the foundry:gen-path function would look like this
+
+ document(foundry:gen-path('conf/global.xml')
+
+
+ The advantage of this function is the encapsulation of the path generation process.
+ foundry:gen-path.
+
+ The absolute path for the file. +
+