Skip to content

Commit

Permalink
docs: update site title in site config
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-ub committed Oct 25, 2024
1 parent 0a7831f commit 75c629e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/config/site.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const siteConfig = {
title: 'shadcn-gn',
title: 'shadcn-ng',
url: 'https://ui.adrianub.dev',
description: 'Beautifully designed components built with your choice of UI and CSS frameworks.',
links: {
Expand Down
6 changes: 5 additions & 1 deletion docs/src/layouts/DocsLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ const { headings } = await entry.render()
const { pathname } = Astro.url
---

<RootLayout title={entry.data.title} description={entry.data.description} url={siteConfig.url + Astro.url.pathname}>
<RootLayout
title={entry.data.title + ' - ' + siteConfig.title}
description={entry.data.description}
url={siteConfig.url + Astro.url.pathname}
>
<div class="border-b">
<div
class="container flex-1 items-start md:grid md:grid-cols-[220px_minmax(0,1fr)] md:gap-6 lg:grid-cols-[240px_minmax(0,1fr)] lg:gap-10"
Expand Down

0 comments on commit 75c629e

Please sign in to comment.