mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-11 18:14:27 +00:00
switch quotes in Nav component from single{double} to double{single} (#111)
This commit is contained in:
@@ -50,11 +50,11 @@
|
|||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a aria-current='{segment === undefined ? "page" : undefined}' href='.'>home</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>
|
<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
|
<!-- 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 -->
|
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>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user