From ec4e00a8c180ec1736c88245fa7c92469b0254b7 Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Tue, 20 Jul 2021 15:56:45 -0500 Subject: [PATCH] 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. --- .gitignore | 3 +++ docs/src/components/SiteSidebar.astro | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 919cc45da..b892b290d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ package-lock.json # .vscode files other than at top-level **/.vscode + +# do not commit .env files or any files that end with `.env` +*.env 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;