Changeset

11662:a8798e04b5c8

mod_http_errors: Allow adding icons on error pages
author Kim Alvefur <zash@zash.se>
date Fri, 09 Jul 2021 21:54:47 +0200
parents 11661:735b8f4a6d7e
children 11663:04fa947784bc
files plugins/mod_http_errors.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_http_errors.lua	Thu Jul 08 18:21:59 2021 +0200
+++ b/plugins/mod_http_errors.lua	Fri Jul 09 21:54:47 2021 +0200
@@ -47,7 +47,7 @@
 </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>}