aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-09 21:54:47 +0200
committerKim Alvefur <zash@zash.se>2021-07-09 21:54:47 +0200
commitfa1e274fb44088cef7c66df97073500e38b903c4 (patch)
treec4347a790f7870a49dfda1b8f19ffcdf3c29c8e3 /plugins
parent3faf5009d98cc967da200ab0af351078347fb1fe (diff)
downloadprosody-fa1e274fb44088cef7c66df97073500e38b903c4.tar.gz
prosody-fa1e274fb44088cef7c66df97073500e38b903c4.zip
mod_http_errors: Allow adding icons on error pages
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_errors.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua
index 637c894b..693a97ad 100644
--- a/plugins/mod_http_errors.lua
+++ b/plugins/mod_http_errors.lua
@@ -47,7 +47,7 @@ p.warning>span{background-color:inherit;color:yellow}
</style>
</head>
<body>
-<h1>{title}</h1>
+<h1>{icon?{icon_raw!?}} {title}</h1>
<p>{message}</p>
{warning&<p class="warning"><span>&#9888; {warning?} &#9888;</span></p>}
{extra&<p class="extra">{extra?}</p>}