👨‍💻 For You Coders: Custom Values WORK in HTML/JS (This SHOULD Be Documented)
P
Philipp Prepens
Found something cool that’s not really documented: You can inject custom values directly into HTML/JS. Here’s a quick example:
<head>
<meta http-equiv="refresh" content="5; url={{ custom_values.website_address }}">
</head>
Yup, that {{ custom_values.website_address }} works for dynamic redirects. But here’s the kicker: It also works for custom scripts. Injecting custom values into <script> tags, for example, works the same way.
Why should this be documented?
It’s super useful for dynamic redirects or setting values based on custom variables. But try Googling it—good luck. This behavior could save a lot of devs time if it was just out there.
Let’s get this documented so more people can actually use it without digging through forums! 🙌
Log In