z_lib_include (zotonic_core v1.0.0-rc.11)
Link to this section Summary
Functions
Generate the link and/or script tags for the given files.
Generate the link and/or script tags for the given files.
Given the filepath of the request, return all files collapsed in the path.
Generate urls for the given files, js and css files are separated.
Generate urls for the given files, js and css files are separated.
Link to this section Types
Link to this type
option/0
-type option() ::
minify |
{minify, boolean()} |
async |
{async, boolean()} |
absolute_url |
{absolute_url, boolean()} |
{media, binary()} |
{rel, binary()} |
{title, binary()}.
Link to this type
options/0
-type options() :: [option()].
Link to this section Functions
Link to this function
tag(Files, Context)
-spec tag([binary()], z:context()) -> [[binary()]].
Link to this function
tag(Files, Args, Context)
Link to this function
uncollapse(Path)
-spec uncollapse(string() | binary()) -> [binary()].
Link to this function
url(Files, Context)
-spec url([binary()], z:context()) -> [binary()].
Link to this function