feat: publish the Sandwich Hime source preview
Signed-off-by: Cole Speelman <gamertan@noreply.localhost>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?sando go
|
||||
package views
|
||||
|
||||
func BrowseResults(view BrowseView)
|
||||
?>
|
||||
<?# SPDX-License-Identifier: 0BSD ?>
|
||||
<section aria-label="Browse results" data-query="<?= view.Query ?>">
|
||||
<ul>
|
||||
<? for _, record := range view.Records { ?>
|
||||
<li>
|
||||
<a href="<?= record.URL ?>"><?= record.Title ?></a>
|
||||
<span class="kind"><?= record.Kind ?></span>
|
||||
<? if record.Featured { ?><?~ Badge("featured") ?><? } ?>
|
||||
</li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
</section>
|
||||
Reference in New Issue
Block a user