-
Notifications
You must be signed in to change notification settings - Fork 0
mod_template
Category: Rendering | Version: v1.0.0 | Source: modules/mod_template/mod_template.c
Template rendering with {{variable}} syntax. Load templates from files, cache in memory, render with variable substitution.
| Path | Method | Description |
|---|---|---|
/template/render |
ACTION | Render template with variables |
/template/list |
GET | List cached templates |
/template/reload |
ACTION | Reload templates from disk |
<!-- /var/lib/portal/templates/page.html -->
<html>
<body>
<h1>Hello, {{username}}!</h1>
<p>You have {{count}} messages.</p>
</body>
</html>Top Level System — GPL-2.0 | Website | Repository
mod_cli · mod_web · mod_node · mod_ssh · mod_config_sqlite · mod_config_psql
mod_cache · mod_kv · mod_shm · mod_queue · mod_websocket · mod_mqtt · mod_email · mod_file
mod_logic · mod_logic_lua · mod_logic_python · mod_logic_c · mod_logic_pascal
mod_metrics · mod_health · mod_sysinfo · mod_process · mod_log · mod_audit · mod_cron · mod_scheduler · mod_worker · mod_backup
mod_proxy · mod_dns · mod_http_client · mod_webhook · mod_api_gateway · mod_tunnel · mod_acme
mod_firewall · mod_crypto · mod_ldap · mod_validator
mod_iot · mod_gpio · mod_serial
mod_xz · mod_gzip · mod_template · mod_admin