mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-25 05:38:59 +00:00

... otherwise show samples. This commit also removes the (Experimental) bit, as this is getting fairly mature.
22 lines
579 B
Plaintext
22 lines
579 B
Plaintext
{{#if feed.items}}
|
|
{{#with feed}}
|
|
<h2><a title="Atom/RSS feed" target="external" href="{{feedUrl}}"><img width="16" height="16" src="/rss.svg"></a> Feed</h2>
|
|
|
|
<dl>
|
|
{{#each items}}
|
|
<dt><a href="{{url}}" rel="external noopener ugc">{{title}}</a></dt>
|
|
<dd><date>{{pubDay}}</date><br>{{{descriptionSafe}}}</dd>
|
|
{{/each}}
|
|
</dl>
|
|
{{/with}}
|
|
{{/if}}
|
|
|
|
{{#unless feed.items}}{{#if samples}}
|
|
<h2>Sample</h2>
|
|
<dl>
|
|
{{#each samples}}
|
|
<dt><a href="{{url}}" rel="external noopener ugc">{{title}}</a></dt>
|
|
<dd>{{description}}</dd>
|
|
{{/each}}
|
|
</dl>
|
|
{{/if}}{{/unless}} |