Search and feed page looks the same now

This commit is contained in:
2022-12-28 04:52:59 +01:00
parent d5d6a93645
commit 4f17aba177
2 changed files with 7 additions and 8 deletions

View File

@ -32,11 +32,12 @@ def create_html_for_search_results(
feed_url: str = urllib.parse.quote(feed.url)
html += f"""
<a class="text-muted text-decoration-none" href="/feed?feed_url={feed_url}">
<h2>{result.metadata[".title"]}</h2>
</a>
{result_summary}
<hr>
<div class="p-2 mb-2 border border-dark">
<a class="text-muted text-decoration-none" href="/feed?feed_url={feed_url}">
<h2>{result.metadata[".title"]}</h2>
</a>
{result_summary}
</div>
"""
return html