Skip to content

Commit

Permalink
fix: remove old root metas
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 20, 2024
1 parent ce70569 commit 05c865e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
14 changes: 0 additions & 14 deletions resources/views/app_root.edge
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">

{{-- Open Graph/ Facebook --}}
<meta property="og:type" content="website" />
<meta property="og:url" content="https://packages.adonisjs.com" />
<meta property="og:title" content="AdonisJS Packages - Discover the best AdonisJS packages" />
<meta property="og:description" content="Discover our list of packages to supercharge your AdonisJS project. Created by the AdonisJS team and community." />
<meta property="og:image" content="/preview.png" />

{{-- Twitter --}}
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://packages.adonisjs.com" />
<meta property="twitter:title" content="AdonisJS Packages - Discover the best AdonisJS packages" />
<meta property="twitter:description" content="Discover our list of packages to supercharge your AdonisJS project. Created by the AdonisJS team and community." />
<meta property="twitter:image" content="/preview.png" />

{{-- Favicons --}}
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
Expand Down
7 changes: 4 additions & 3 deletions resources/views/components/meta.edge
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@assign(title = title ?? 'AdonisJS Packages')
@assign(description = description ?? 'Discover our list of packages to supercharge your AdonisJS project. Created by the AdonisJS team and community.')
@assign(description = description ?? 'Discover our list of packages to supercharge your AdonisJS project. Created by the
AdonisJS team and community.')
@assign(image = image ?? '/preview.png')

<title inertia>{{ `${title} - AdonisJS Packages` }}</title>
Expand All @@ -8,14 +9,14 @@

{{-- Open Graph/ Facebook --}}
<meta property="og:type" content="website" />
<meta property="og:url" content="package.adonisjs.com" />
<meta property="og:url" content="https://package.adonisjs.com" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:image" content="{{ image }}" />

{{-- Twitter --}}
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="package.adonisjs.com" />
<meta property="twitter:url" content="https://package.adonisjs.com" />
<meta property="twitter:title" content="{{ title }}" />
<meta property="twitter:description" content="{{ description }}" />
<meta property="twitter:image" content="{{ image }}" />

0 comments on commit 05c865e

Please sign in to comment.