diff --git a/pgml-dashboard/src/components/layouts/head/template.html b/pgml-dashboard/src/components/layouts/head/template.html index 0f9b09dae..64a3aa5c7 100644 --- a/pgml-dashboard/src/components/layouts/head/template.html +++ b/pgml-dashboard/src/components/layouts/head/template.html @@ -36,10 +36,13 @@ + <% if canonical.is_some() { %> + + <% } %> + <% if context.is_some() { %> <%- context.unwrap() %> <% } else { %> - - <% if canonical.is_some() { %> - - <% } %> - "> diff --git a/pgml-dashboard/src/templates/mod.rs b/pgml-dashboard/src/templates/mod.rs index 07b5e7488..061cf353c 100644 --- a/pgml-dashboard/src/templates/mod.rs +++ b/pgml-dashboard/src/templates/mod.rs @@ -67,7 +67,7 @@ impl Layout { } pub fn canonical(&mut self, canonical: &str) -> &mut Self { - self.head.canonical = Some(canonical.to_string()); + self.head.canonical = Some(canonical.to_owned()); self }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: