switch quotes in Nav component from single{double} to double{single} (#111)

This commit is contained in:
Ricky de Laveaga
2020-06-02 05:10:37 -07:00
committed by GitHub
parent c5bd6f061c
commit 23e90f0637

View File

@@ -50,11 +50,11 @@
<nav>
<ul>
<li><a aria-current='{segment === undefined ? "page" : undefined}' href='.'>home</a></li>
<li><a aria-current='{segment === "about" ? "page" : undefined}' href='about'>about</a></li>
<li><a aria-current="{segment === undefined ? 'page' : undefined}" href=".">home</a></li>
<li><a aria-current="{segment === 'about' ? 'page' : undefined}" href="about">about</a></li>
<!-- for the blog link, we're using rel=prefetch so that Sapper prefetches
the blog data when we hover over the link or tap it on a touchscreen -->
<li><a rel=prefetch aria-current='{segment === "blog" ? "page" : undefined}' href='blog'>blog</a></li>
<li><a rel=prefetch aria-current="{segment === 'blog' ? 'page' : undefined}" href="blog">blog</a></li>
</ul>
</nav>