search optimizations
This commit is contained in:
parent
4c97386fbd
commit
b1a119b6d7
@ -22,12 +22,13 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('DOMContentLoaded', (event) => {
|
window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
new PagefindUI({ element: "#search",
|
new PagefindUI({
|
||||||
translations: {
|
element: "#search",
|
||||||
placeholder: "Suchen...",
|
translations: {
|
||||||
zero_results: "Leider konnten keine Ergebnisse zu [SEARCH_TERM] gefunden werden",
|
placeholder: "Suchen...",
|
||||||
clear_search: "Löschen"
|
zero_results: "Leider konnten keine Ergebnisse zu [SEARCH_TERM] gefunden werden",
|
||||||
}
|
clear_search: "Löschen"
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -61,14 +62,8 @@
|
|||||||
<div id="pagefind-search" class="modal fade" data-pagefind-ignore>
|
<div id="pagefind-search" class="modal fade" data-pagefind-ignore>
|
||||||
<div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" role="document">
|
<div class="modal-dialog modal-xl modal-dialog-scrollable modal-dialog-centered" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
|
||||||
<h3 class="modal-title">Suche</h3>
|
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" data-pagefind-ignore></button>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="content">
|
<div id="search"></div>
|
||||||
<div id="search"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user