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