Documentation


Ocean adds several custom functions in addition to Liquid’s standard functions (tags). Any of them can be used in the app template by following standard Liquid syntax for tags:

{% custom_ocean_function %}

Currently, values that are generated by the functions are only cached in engine.vars. In other words, if you use any function outside of this scope, expect its value to change every time you call it if it’s a dynamic function.

generate_uuid

Generates a random UUID.