mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 21:29:00 +00:00

Look, this will make the git history look funny, but trimming unnecessary depth from the source tree is a very necessary sanity-preserving measure when dealing with a super-modularized codebase like this one. While it makes the project configuration a bit less conventional, it will save you several clicks every time you jump between modules. Which you'll do a lot, because it's *modul*ar. The src/main/java convention makes a lot of sense for a non-modular project though. This ain't that.
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Marginalia Search - {{query}}</title>
|
|
|
|
<link rel="stylesheet" href="/serp.css" />
|
|
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Marginalia">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="robots" content="noindex" />
|
|
</head>
|
|
|
|
<body data-filter="{{filters.currentFilter}}">
|
|
|
|
<!-- Hi there, fellow human being :-) -->
|
|
|
|
{{>search/parts/search-header}}
|
|
{{>search/parts/search-form}}
|
|
|
|
<section class="sidebar-narrow">
|
|
<section id="results" class="sb-left">
|
|
{{#if focusDomain}}
|
|
<div class="infobox">
|
|
Showing search results from <a href="/site/{{focusDomain}}">{{focusDomain}}</a>.
|
|
</div>
|
|
{{/if}}
|
|
{{#each results}}
|
|
{{#if hasMultiple}}
|
|
{{>search/parts/search-result-rest}}
|
|
{{else}}
|
|
{{#with first}}
|
|
{{>search/parts/search-result}}
|
|
{{/with}}
|
|
{{/if}}
|
|
{{/each}}
|
|
</section>
|
|
|
|
{{#with filters}}
|
|
<section id="filters" class="sb-right">
|
|
{{>search/parts/search-filters}}
|
|
</section>
|
|
{{/with}}
|
|
|
|
</section>
|
|
{{>search/parts/search-footer}}
|
|
</body>
|
|
</html> |