site: implement search functionality
This commit is contained in:
parent
3ae6b02672
commit
08be6b17f5
8 changed files with 257 additions and 2 deletions
|
@ -5,6 +5,15 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title><%= join(" - ", "Pooru", title() // ()) %></title>
|
||||
<%= stylesheet "/css/style.css" %>
|
||||
% if (stash "pooru.search") {
|
||||
<%= javascript begin %>
|
||||
const endpoints = {
|
||||
search: "<%= url_for("search_tags") %>",
|
||||
};
|
||||
<% end %>
|
||||
<%= javascript "/js/app.js", defer => undef %>
|
||||
<%= javascript '/js/alpinejs@3.14.9/dist/cdn.min.js', defer => undef %>
|
||||
% }
|
||||
</head>
|
||||
<body class="layout-flex-column">
|
||||
<header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue