mirror of
https://github.com/Dichgrem/Blog.git
synced 2025-08-01 17:29:31 -04:00
Initial commit
This commit is contained in:
21
templates/search.html
Normal file
21
templates/search.html
Normal file
@ -0,0 +1,21 @@
|
||||
{% extends "index.html" %}
|
||||
|
||||
{% block title %}
|
||||
Search | {{ config.title }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block header_menu %}
|
||||
{{ menu_macros::menu_for(config=config, current_item="") }}
|
||||
{% endblock header_menu %}
|
||||
|
||||
{% block content %}
|
||||
<link href="/pagefind/pagefind-ui.css" rel="stylesheet">
|
||||
<script src="/pagefind/pagefind-ui.js"></script>
|
||||
|
||||
<div id="search"></div>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
new PagefindUI({ element: "#search", showSubResults: true });
|
||||
});
|
||||
</script>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user