How we can make custom function to use on Tera? #1050
-
Hello loco's developers! I want to make custom function to use on Tera engine, but don't know you to make it. I already see Tera Docs Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
kaplanelad
Dec 12, 2024
Replies: 1 comment
-
Hi, When creating a new project using Within the mutable tera variable, you can append custom filters and functions to extend its functionality. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
marciano0695
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When creating a new project using
loco new
, navigate to theview_engine.rs
file located in thesrc/initializers
folder.Within the mutable tera variable, you can append custom filters and functions to extend its functionality.