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
|
@ -78,17 +78,15 @@
|
|||
<p>Community options appear here when logged in.</p>
|
||||
</FreeTextLayout>
|
||||
</HiddenFromSSR>
|
||||
<div style="display: none">
|
||||
<!-- TODO: this is just a hack so that `sapper export` knows to crawl these files -->
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
{/if}
|
||||
<style>
|
||||
.community-page {
|
||||
|
|
|
@ -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 New Issue