fix: ensure bookmarks page has generated HTML file (#1861)
* fix: ensure bookmarks page has generated HTML file * fix: only render if not logged in
This commit is contained in:
parent
fd7c22345c
commit
c683a4b85d
|
@ -80,14 +80,12 @@
|
|||
</HiddenFromSSR>
|
||||
<div style="display: none">
|
||||
<!-- TODO: this is just a hack so that `sapper export` knows to crawl these files -->
|
||||
<!-- Note that these links have to be spread out or else they result in ECONNRESET errors during crawling -->
|
||||
<!-- See also search.html -->
|
||||
<a href="/requests">Requests</a>
|
||||
<a href="/muted">Muted</a>
|
||||
<a href="/blocked">Blocked</a>
|
||||
<a href="/pinned">Pinned</a>
|
||||
<a href="/requests">Requests</a>
|
||||
<a href="/share">Share</a>
|
||||
<a href="/federated">Federated</a>
|
||||
<a href="/favorites">Favorites</a>
|
||||
<a href="/direct">Conversations</a>
|
||||
</div>
|
||||
{/if}
|
||||
<style>
|
||||
|
|
|
@ -10,6 +10,17 @@
|
|||
<p>You can search once logged in to an instance.</p>
|
||||
</FreeTextLayout>
|
||||
</HiddenFromSSR>
|
||||
<div style="display: none">
|
||||
<!-- TODO: this is just a hack so that `sapper export` knows to crawl these files -->
|
||||
<!-- Note that these links have to be spread out or else they result in ECONNRESET errors during crawling -->
|
||||
<!-- See also community/index.html -->
|
||||
<a href="/local">Local</a>
|
||||
<a href="/federated">Federated</a>
|
||||
<a href="/favorites">Favorites</a>
|
||||
<a href="/direct">Conversations</a>
|
||||
<a href="/bookmarks">Bookmarks</a>
|
||||
<a href="/share">Share</a>
|
||||
</div>
|
||||
{/if}
|
||||
<style>
|
||||
.search-page {
|
||||
|
|
Loading…
Reference in a new issue