Commit acfd2a2bc8
Unsigned
Layout: unified · split
web/src/layouts/Layout.astro +8 −9
| @@ -2,6 +2,7 @@ | |||
| 2 | import { ViewTransitions } from 'astro:transitions' | 2 | import { ViewTransitions } from 'astro:transitions' |
| 3 | import NavBar from '@components/scafold/NavBar.astro'; | 3 | import NavBar from '@components/scafold/NavBar.astro'; |
| 4 | import Footer from '@components/scafold/Footer.astro'; | 4 | import Footer from '@components/scafold/Footer.astro'; |
| 5 | import config from '../site-config'; | ||
| 5 | 6 | ||
| 6 | interface Props { | 7 | interface Props { |
| 7 | title?: string; // Page title | 8 | title?: string; // Page title |
| @@ -17,11 +18,11 @@ interface Props { | |||
| 17 | } | 18 | } |
| 18 | 19 | ||
| 19 | const { | 20 | const { |
| 20 | title='Awesome Privacy | The Ultimate List of Private Apps', | 21 | title = config.title, |
| 21 | description='Your guide to finding privacy-respecting alternatives to popular software and services.', | 22 | description = config.description, |
| 22 | keywords='security, privacy, awesome privacy, data collection, free software, open source, privacy tools, privacy respecting software', | 23 | keywords = config.keywords, |
| 23 | hideNav=false, | 24 | author = config.author, |
| 24 | author='Alicia Sykes', | 25 | hideNav = false, |
| 25 | breadcrumbs, | 26 | breadcrumbs, |
| 26 | customSchemaJson, | 27 | customSchemaJson, |
| 27 | } = Astro.props; | 28 | } = Astro.props; |
| @@ -88,15 +89,15 @@ const makeSearchLd = () => { | |||
| 88 | <meta property="og:title" content={title}> | 89 | <meta property="og:title" content={title}> |
| 89 | <meta property="og:description" content={description}> | 90 | <meta property="og:description" content={description}> |
| 90 | <meta property="og:image" content="https://awesome-privacy.xyz/banner.png"> | 91 | <meta property="og:image" content="https://awesome-privacy.xyz/banner.png"> |
| 91 | <meta name="twitter:card" content="summary_large_image"> | 92 | <meta name="twitter:card" content="summary"> |
| 92 | <meta name="twitter:url" content="https://awesome-privacy.xyz"> | 93 | <meta name="twitter:url" content="https://awesome-privacy.xyz"> |
| 93 | <meta name="twitter:title" content={title}> | 94 | <meta name="twitter:title" content={title}> |
| 94 | <meta name="twitter:description" content={description}> | 95 | <meta name="twitter:description" content={description}> |
| 95 | <meta name="twitter:image" content="https://awesome-privacy.xyz/banner.png"> | 96 | <meta name="twitter:image" content="https://awesome-privacy.xyz/banner.png"> |
| 97 | <link rel="twitter:image" sizes="180x180" href="https://awesome-privacy.xyz/apple-touch-icon.png"> | ||
| 96 | <meta name="twitter:site" content="@Lissy_Sykes"> | 98 | <meta name="twitter:site" content="@Lissy_Sykes"> |
| 97 | <meta name="twitter:creator" content="@Lissy_Sykes"> | 99 | <meta name="twitter:creator" content="@Lissy_Sykes"> |
| 98 | 100 | ||
| 99 | |||
| 100 | <!-- Non-tracking hit counter --> | 101 | <!-- Non-tracking hit counter --> |
| 101 | <script defer is:inline | 102 | <script defer is:inline |
| 102 | type="text/partytown" | 103 | type="text/partytown" |
| @@ -140,8 +141,6 @@ const makeSearchLd = () => { | |||
| 140 | min-height: 100vh; | 141 | min-height: 100vh; |
| 141 | color: var(--foreground); | 142 | color: var(--foreground); |
| 142 | background: var(--background); | 143 | background: var(--background); |
| 143 | /* background: -webkit-radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%); | ||
| 144 | background: radial-gradient(circle, var(--bg-gradient-comp-1) 0%, var(--bg-gradient-comp-2) 100%); */ | ||
| 145 | } | 144 | } |
| 146 | 145 | ||
| 147 | </style> | 146 | </style> |