fix: make sure sapper crawls nofications/mentions (#1191)

This commit is contained in:
Nolan Lawson 2019-05-06 21:17:46 -07:00 committed by GitHub
parent de220e7262
commit 2425ca8f72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -90,7 +90,6 @@
<a href="/federated">Federated</a> <a href="/federated">Federated</a>
<a href="/favorites">Favorites</a> <a href="/favorites">Favorites</a>
<a href="/direct">Conversations</a> <a href="/direct">Conversations</a>
<a href="/notifications/mentions">Notification mentions</a>
</div> </div>
{/if} {/if}
<style> <style>

View file

@ -8,6 +8,10 @@
<p>Your notifications will appear here when logged in.</p> <p>Your notifications will appear here when logged in.</p>
</FreeTextLayout> </FreeTextLayout>
<div style="display: none">
<!-- TODO: this is just a hack so that `sapper export` knows to crawl these files -->
<a href="/notifications/mentions">Notification mentions</a>
</div>
</HiddenFromSSR> </HiddenFromSSR>
{/if} {/if}
<script> <script>