Skip to content

Commit

Permalink
fix: twitter og image
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 25, 2024
1 parent 8e8dcce commit d765529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/views/components/meta.edge
Original file line number Diff line number Diff line change
@@ -1,6 +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(image = image ?? '/preview.png')
@assign(image = image ?? 'https://packages.adonisjs.com/preview.png')

<title inertia>{{ `${title} - AdonisJS Packages` }}</title>
<meta name="title" content="{{ `${title} - AdonisJS Packages` }}">
Expand All @@ -19,3 +19,4 @@
<meta property="twitter:title" content="{{ title }}" />
<meta property="twitter:description" content="{{ description }}" />
<meta property="twitter:image" content="{{ image }}" />
<meta property="twitter:image:src" content="{{ image }}" />

0 comments on commit d765529

Please sign in to comment.