@@ -240,7 +240,7 @@ static ALLOW_CORS_NAME: HeaderName = HeaderName::from_static("access-control-all
240240static ALLOW_CORS_VALUE : HeaderValue = HeaderValue :: from_static ( "*" ) ;
241241
242242#[ derive( Template ) ]
243- #[ template( path = "index.hbs" , escape = "html" ) ]
243+ #[ template( path = "index.hbs" , escape = "html" , blocks = [ "description" ] ) ]
244244pub struct RootTemplate {
245245 svc_status : ServicesResponse ,
246246 root_url : Arc < str > ,
@@ -264,7 +264,7 @@ async fn root(
264264}
265265
266266#[ derive( Template ) ]
267- #[ template( path = "api.hbs" , escape = "html" ) ]
267+ #[ template( path = "api.hbs" , escape = "html" , blocks = [ "description" ] ) ]
268268pub struct ApiTemplate {
269269 bd : Arc < BustDir > ,
270270 root_url : Arc < str > ,
@@ -300,7 +300,7 @@ async fn ping_redirect(
300300}
301301
302302#[ derive( Template ) ]
303- #[ template( path = "ping-page.hbs" , escape = "html" ) ]
303+ #[ template( path = "ping-page.hbs" , escape = "html" , blocks = [ "description" ] ) ]
304304pub struct PingPageTemplate {
305305 svc_status : ServicesResponse ,
306306 root_url : Arc < str > ,
@@ -344,7 +344,7 @@ async fn ping_generic(
344344}
345345
346346#[ derive( Template ) ]
347- #[ template( path = "ping-frame.hbs" , escape = "html" ) ]
347+ #[ template( path = "ping-frame.hbs" , escape = "html" , blocks = [ "description" ] ) ]
348348pub struct PingFrameTemplate {
349349 ping : MCPingResponse ,
350350 bd : Arc < BustDir > ,
@@ -524,7 +524,7 @@ pub struct ErrorSerialization {
524524}
525525
526526#[ derive( Template ) ]
527- #[ template( path = "error.hbs" , escape = "html" ) ]
527+ #[ template( path = "error.hbs" , escape = "html" , blocks = [ "description" ] ) ]
528528pub struct ErrorTemplate {
529529 error : String ,
530530 bd : Arc < BustDir > ,
0 commit comments