X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/71b9066d9eed97aee7eff27a25d5c317b6f89595..c6bcd1321efd293e989002cd3d222e6f756ae493:/src/components/Header.svelte?ds=inline

diff --git a/src/components/Header.svelte b/src/components/Header.svelte
index 06f3bd4..4e6359a 100644
--- a/src/components/Header.svelte
+++ b/src/components/Header.svelte
@@ -2,11 +2,12 @@
   import PageLink from './PageLink.svelte';
   import ReverseLink from './ReverseLink.svelte';
   import LastUpdated from './LastUpdated.svelte';
+  import Error from './Error.svelte';
 
   import { page } from '../lib/stores.js';
-  import { get_config_value } from '../lib/config_reader.js';
 
   $: view = $page.tab;
+  $: page_title = Nominatim_Config.Page_Title;
 </script>
 
 <style>
@@ -55,7 +56,7 @@
     <div class="navbar-brand">
       <PageLink page="search">
         <img alt="logo" id="theme-logo" src="theme/logo.png" />
-        <h1>{get_config_value('Page_Title')}</h1>
+        <h1>{page_title}</h1>
       </PageLink>
     </div>
     <!-- Toggler (hamburger button) -->
@@ -90,4 +91,5 @@
 <section class="search-section">
   <slot/>
 </section>
+<Error/>
 <LastUpdated/>
