diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-09 21:54:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-09 21:54:47 +0200 |
commit | fa1e274fb44088cef7c66df97073500e38b903c4 (patch) | |
tree | c4347a790f7870a49dfda1b8f19ffcdf3c29c8e3 /plugins | |
parent | 3faf5009d98cc967da200ab0af351078347fb1fe (diff) | |
download | prosody-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.lua | 2 |
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>⚠ {warning?} ⚠</span></p>} {extra&<p class="extra">{extra?}</p>} |