Skip to content

Commit

Permalink
Fixed Meta Data
Browse files Browse the repository at this point in the history
  • Loading branch information
acmoune committed May 17, 2024
1 parent 2697e3b commit 939ede9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/OsanWebsite.Web/Pages/Event.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<meta name="keywords" content="@(Model.Event.Keywords ?? "")" />
@* Social Media Tags *@
<meta property="og:title" content="@Model.Event.Title" />
<meta property="og:url" content="@Model.Event.GetUrl()" />
<meta property="og:url" content=@($"{Environment.GetEnvironmentVariable("SITE_BASE")}{Model.Event.GetUrl()}") />
<meta property="og:description" content="@Model.Event.Description" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="fr_FR" />
<meta property="og:site_name" content="osancave.com" />
<meta property="og:image" content="@Model.Event.GetImageUrl()" />
<meta property="og:image" content=@($"{Environment.GetEnvironmentVariable("SITE_BASE")}{Model.Event.GetImageUrl()}") />
<meta property="twitter:card" content="summary_large_image" />
}

Expand Down
4 changes: 2 additions & 2 deletions src/OsanWebsite.Web/Pages/Spot.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<meta name="keywords" content="@(Model.Spot.Keywords ?? "")" />
@* Social Media Tags *@
<meta property="og:title" content="@Model.Spot.Title" />
<meta property="og:url" content="@Model.Spot.GetUrl()" />
<meta property="og:url" content=@($"{Environment.GetEnvironmentVariable("SITE_BASE")}{Model.Spot.GetUrl()}") />
<meta property="og:description" content="@Model.Spot.Description" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="fr_FR" />
<meta property="og:site_name" content="osancave.com" />
<meta property="og:image" content="@Model.Spot.GetImageUrl()" />
<meta property="og:image" content=@($"{Environment.GetEnvironmentVariable("SITE_BASE")}{Model.Spot.GetImageUrl()}") />
<meta property="twitter:card" content="summary_large_image" />
}

Expand Down

0 comments on commit 939ede9

Please sign in to comment.