2023-08-10 15:02:51 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>{{query}} - rimgo</title>
|
|
|
|
|
|
|
|
{{> partials/head }}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="font-sans text-lg bg-slate-800 text-white">
|
|
|
|
{{> partials/nav }}
|
|
|
|
|
|
|
|
<section class="my-4 w-full flex flex-col items-center">
|
|
|
|
{{> partials/searchBar }}
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
<div class="posts">
|
|
|
|
{{#each results}}
|
|
|
|
{{> partials/result }}
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
2023-08-10 16:00:42 +00:00
|
|
|
|
|
|
|
<div class="flex justify-between mt-4 font-bold">
|
2023-08-30 17:24:54 +00:00
|
|
|
{{#noteq page "0"}}
|
2023-08-10 16:00:42 +00:00
|
|
|
<a href="/search?q={{query}}&page={{prevPage}}">Previous page</a>
|
2023-08-30 17:24:54 +00:00
|
|
|
{{/noteq}}
|
|
|
|
<p>Page {{nextPage}}</p>
|
2023-08-10 16:00:42 +00:00
|
|
|
<a href="/search?q={{query}}&page={{nextPage}}">Next page</a>
|
|
|
|
</div>
|
2023-08-10 15:02:51 +00:00
|
|
|
</main>
|
|
|
|
|
|
|
|
{{> partials/footer }}
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|