diff --git a/ccm-core/src/main/resources/themes/freemarker/utils.ftl b/ccm-core/src/main/resources/themes/freemarker/utils.ftl new file mode 100644 index 000000000..3773593e1 --- /dev/null +++ b/ccm-core/src/main/resources/themes/freemarker/utils.ftl @@ -0,0 +1,24 @@ +<#--filedoc + Utility functions for Freemarker based themes. +--> + +<#--doc + Gets the application of the page served from the model. + + @return The current application. +--> +<#function getPageApplication> + <#return application> + + +<#--doc + Get the title of the current page. + + This will only work of the current page is a navigation page with a category + menu. + + @return The title of the current page +--> +<#function getPageTitle> + <#return title> + \ No newline at end of file