diff --git a/package.json b/package.json index 42c9c5a..569d429 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "astro dev --experimental-integrations", "build": "astro build --experimental-integrations", - "format": "prettier --write --plugin-search-dir . --ignore-path .gitignore" + "format": "prettier --write --plugin-search-dir . --ignore-path .gitignore ." }, "devDependencies": { "@astrojs/sitemap": "^0.1.2", diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 065fc7b..244bd70 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -26,7 +26,6 @@ const props = Astro.props as Props; - + + diff --git a/src/layouts/index.astro b/src/layouts/index.astro index 6f4ec1f..7e42ec3 100644 --- a/src/layouts/index.astro +++ b/src/layouts/index.astro @@ -139,9 +139,15 @@ const props = Astro.props.content as Props; .map(({ frontmatter, url }, i) => ( <>

= 2 }]}> - - {frontmatter.name} - + {frontmatter.links.length ? ( + <> + + {frontmatter.name} + + + ) : ( + frontmatter.name + )} {intersperse( frontmatter.tags.map((tag) => {tag}), @@ -177,6 +183,9 @@ const props = Astro.props.content as Props; )) } +

+ Archive of older projects +