Module z_lib_include

Support for the {% lib filename ...

Copyright (c) 2009 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Support for the {% lib filename ... %} tag in the templates. Generates the or tag for css or js files. Also adds the greatest modification date so that updates are loaded by the browser.

Function Index

tag/2Generate the link and/or script tags for the given files.
tag/3Generate the link and/or script tags for the given files.
uncollapse/1Given the filepath of the request, return all files collapsed in the path.

Function Details

tag/2

tag(Files, Context) -> any()

Generate the link and/or script tags for the given files.

tag/3

tag(Files, Args, Context) -> any()

Generate the link and/or script tags for the given files.

uncollapse/1

uncollapse(Path::string() | binary()) -> list()

Given the filepath of the request, return all files collapsed in the path.


Generated by EDoc, Oct 22 2014, 21:45:07.