Add function to path library
Use function in data.ftl of blog module [#3]