Skip to content

Commit

Permalink
Added metadataBase url
Browse files Browse the repository at this point in the history
  • Loading branch information
saisab29 committed Dec 12, 2024
1 parent 96b7f8b commit 5c19813
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/publish-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=${{ steps.version.outputs.version }}
type=raw,value=latest
- name: Build and push Docker image
id: push
Expand Down
1 change: 1 addition & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Pagination from "./Component/Pagination"; // New client component
export const metadata: Metadata = {
title: "Cardano API",
description: "A list of Cardano Api projects",
metadataBase: new URL("https://cardanoapi.io"),
openGraph: {
title: "Cardano Api",
description: "A list of Cardano Api Projects",
Expand Down
1 change: 1 addition & 0 deletions src/app/projects/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export async function generateMetadata({ params }: Props) {
return {
title: projectName,
description: projectDescription,
metadataBase: new URL('https://cardanoapi.io'),
openGraph: {
title: projectName,
description: projectDescription,
Expand Down

0 comments on commit 5c19813

Please sign in to comment.