2024-05-20 08:23:27 -04:00
|
|
|
{{if .Results}}
|
2024-08-09 12:14:19 -04:00
|
|
|
{{range .Results}}
|
2024-11-24 11:41:14 -05:00
|
|
|
<a class="item tw-max-w-[min(80vw,calc(0.8*var(--container-width)))]" href="{{$.RepoLink}}/wiki/{{.Filename}}">
|
2024-11-23 08:37:16 -05:00
|
|
|
<b class="tw-block tw-mb-2 tw-whitespace-break-spaces">{{.Title}}</b>
|
2024-08-09 12:14:19 -04:00
|
|
|
{{range .LineCodes}}
|
2024-09-07 15:59:15 -04:00
|
|
|
<p class="tw-my-0 tw-whitespace-break-spaces">{{.}}</p>
|
2024-08-09 12:14:19 -04:00
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2024-05-20 08:23:27 -04:00
|
|
|
{{else}}
|
2024-08-09 12:14:19 -04:00
|
|
|
<div class="item muted">{{ctx.Locale.Tr "repo.wiki.no_search_results"}}</div>
|
2024-05-20 08:23:27 -04:00
|
|
|
{{end}}
|