summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2021-07-20 15:56:45 -0500
committerGravatar GitHub <noreply@github.com> 2021-07-20 15:56:45 -0500
commitec4e00a8c180ec1736c88245fa7c92469b0254b7 (patch)
treec3b208e11223b5841c512fa6b90264828a4de577 /docs/src
parent6915dc688bdd3bb5b9230c710516509ebec7ee78 (diff)
downloadastro-ec4e00a8c180ec1736c88245fa7c92469b0254b7.tar.gz
astro-ec4e00a8c180ec1736c88245fa7c92469b0254b7.tar.zst
astro-ec4e00a8c180ec1736c88245fa7c92469b0254b7.zip
Docs/fix sitesidebar template (#778)
* Fix: Do not commit `.env` files in any directory * Links that aren't current should have either *no* aria-current attribute or `aria-current="false"` for the same effect.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/components/SiteSidebar.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/components/SiteSidebar.astro b/docs/src/components/SiteSidebar.astro
index 02a17d99d..ebdf918f5 100644
--- a/docs/src/components/SiteSidebar.astro
+++ b/docs/src/components/SiteSidebar.astro
@@ -11,7 +11,7 @@ const {currentPage} = Astro.props;
<h2 class="nav-group-title">{category.text}</h2>
<ul>
{category.children.map(child => (
- <li class="nav-link"><a href={`${Astro.site.pathname}${child.link}`} aria-current={`${currentPage === child.link ? 'page' : ''}`}>{child.text}</a></li>
+ <li class="nav-link"><a href={`${Astro.site.pathname}${child.link}`} aria-current={`${currentPage === child.link ? 'page' : 'false'}`}>{child.text}</a></li>
))}
</ul>
</div>
1/astro/commit/packages/db/src/core/queries.ts?h=@astrojs/vercel@7.3.4&id=5d4ff093a21c072553b2cac6c799d3efa3cb84c0&follow=1'>Improved error logging from config (#10207)Gravatar Ben Holmes 4-36/+67 2024-02-23[ci] formatGravatar Arsh 3-3/+3 2024-02-23fix(dev): remove params for prerendered pages (#10199)Gravatar Arsh 9-13/+78 2024-02-23[ci] release (#10213)astro@4.4.4@astrojs/vercel@7.3.3@astrojs/node@8.2.1@astrojs/db@0.4.0Gravatar Houston (Bot) 41-177/+95 2024-02-23Fixes edge middleware calling nested routes (#10215)Gravatar Matthew Phillips 2-1/+6 2024-02-23Adds an error message for non-string transition:name values (#10205)Gravatar Martin Trapp 2-0/+8 2024-02-23[ci] formatGravatar Furkan Erdem 1-1/+1 2024-02-23Fix(node): Custom headers are not present in responses from standalone Node s...Gravatar Furkan Erdem 8-0/+163