From 75f34cae30b4ffb3fea0e1be28c37aa36674dbc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Mon, 9 Sep 2019 19:56:14 +0200 Subject: [PATCH] Put search field in separate template --- templates/layout/00_layout.php | 38 +--------------------------- templates/partials/search_script.php | 37 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 37 deletions(-) create mode 100644 templates/partials/search_script.php diff --git a/templates/layout/00_layout.php b/templates/layout/00_layout.php index 50a6231..777ed35 100755 --- a/templates/layout/00_layout.php +++ b/templates/layout/00_layout.php @@ -61,43 +61,7 @@ echo ''; } ?> - - - - - - - - - + insert('theme::partials/search_script', ['page' => $page, 'base_url' => $base_url]); ?> diff --git a/templates/partials/search_script.php b/templates/partials/search_script.php new file mode 100644 index 0000000..cd9214a --- /dev/null +++ b/templates/partials/search_script.php @@ -0,0 +1,37 @@ + + + + + + + + + \ No newline at end of file