mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-25 13:49: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.
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
|
|
<section data-ms-rank="{{first.matchRank}}" class="card search-result" >
|
|
{{#with first}}
|
|
<div class="url"><a rel="nofollow external" href="{{url}}">{{url}}</a></div>
|
|
<h2> <a tabindex="-1" class="title" rel="nofollow external" href="{{url}}">{{title}}</a> </h2>
|
|
<p class="description">{{description}}</p>
|
|
|
|
{{/with}}
|
|
<div class="utils">
|
|
Also from {{first.url.domain}}
|
|
</div>
|
|
<ul class="additional-results">
|
|
{{#each rest}}
|
|
<li><a href="{{url}}">{{title}}</a></li>
|
|
{{/each}}
|
|
</ul>
|
|
{{#with first}}
|
|
<div class="utils">
|
|
<a href="/site/{{url.domain}}" title="Domain Information">Info</a>
|
|
<a href="/site-search/{{url.domain}}/{{query}}?profile={{profile}}" title="More results from this domain">{{resultsFromSameDomain}}+</a>
|
|
<div class="meta">
|
|
{{#if problemCount}} <span class="problems" title="{{problems}}"> ⚠ {{problemCount}} </span> {{/if}}
|
|
<span aria-hidden="true" class="meta positions"
|
|
title="Positions where keywords were found within the document">{{positions}}</span>
|
|
</div>
|
|
</div>
|
|
{{/with}}
|
|
</section>
|
|
|
|
<hr class="w3m-helper" /> |