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>
|
<p>Community options appear here when logged in.</p>
|
||||||
</FreeTextLayout>
|
</FreeTextLayout>
|
||||||
</HiddenFromSSR>
|
</HiddenFromSSR>
|
||||||
<div style="display: none">
|
<div style="display: none">
|
||||||
<!-- TODO: this is just a hack so that `sapper export` knows to crawl these files -->
|
<!-- TODO: this is just a hack so that `sapper export` knows to crawl these files -->
|
||||||
<a href="/muted">Muted</a>
|
<!-- Note that these links have to be spread out or else they result in ECONNRESET errors during crawling -->
|
||||||
<a href="/blocked">Blocked</a>
|
<!-- See also search.html -->
|
||||||
<a href="/pinned">Pinned</a>
|
<a href="/requests">Requests</a>
|
||||||
<a href="/requests">Requests</a>
|
<a href="/muted">Muted</a>
|
||||||
<a href="/share">Share</a>
|
<a href="/blocked">Blocked</a>
|
||||||
<a href="/federated">Federated</a>
|
<a href="/pinned">Pinned</a>
|
||||||
<a href="/favorites">Favorites</a>
|
</div>
|
||||||
<a href="/direct">Conversations</a>
|
|
||||||
</div>
|
|
||||||
{/if}
|
{/if}
|
||||||
<style>
|
<style>
|
||||||
.community-page {
|
.community-page {
|
||||||
|
|
|
@ -10,6 +10,17 @@
|
||||||
<p>You can search once logged in to an instance.</p>
|
<p>You can search once logged in to an instance.</p>
|
||||||
</FreeTextLayout>
|
</FreeTextLayout>
|
||||||
</HiddenFromSSR>
|
</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}
|
{/if}
|
||||||
<style>
|
<style>
|
||||||
.search-page {
|
.search-page {
|
||||||
|
|
Loading…
Reference in a new issue