You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/layouts/Layout.astro
+22-4Lines changed: 22 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,12 @@
1
1
---
2
2
import { AstroSeo } from"@astrolib/seo";
3
-
import { getLocale } from"astro-i18n-aut";
3
+
import {
4
+
defaultLocale,
5
+
getLocale,
6
+
getLocaleUrl,
7
+
locales,
8
+
} from"astro-i18n-aut";
9
+
import { getPhrases } from"../phrases";
4
10
5
11
typeProps= {
6
12
title?:string;
@@ -10,10 +16,9 @@ type Props = {
10
16
const { props } =Astro;
11
17
12
18
const locale =getLocale(Astro.url);
19
+
const phrases =getPhrases(locale);
13
20
const title =props.title?`${props.title} · Auth Wiki`:"Auth Wiki";
14
-
const description =
15
-
props.description??
16
-
"Auth Wiki is a comprehensive collection of articles, tutorials, and resources about authentication and authorization. Learn about OAuth 2.0, OpenID Connect, SAML, and more.";
description: 'Auth Wiki is a comprehensive collection of articles, tutorials, and resources about authentication and authorization. Learn about OAuth 2.0, OpenID Connect, SAML, and more.',
7
+
},
8
+
home: {
9
+
description: 'Explore and find clear definitions of key glossaries related to authentication, authorization, and identity management. Work with open-standards like <a href="/openid-connect">OpenID Connect</a>, <a href="/oauth-2.0">OAuth 2.0</a>, and <a href="/saml">SAML</a>.'
10
+
},
11
+
content: {
12
+
edit_on_github: 'Edit on GitHub',
13
+
table_of_contents: 'Table of Contents',
14
+
see_also: 'See also',
15
+
resources_and_references: 'Resources and references',
0 commit comments