Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix social preview (twitter version) #550

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Childrens-Social-Care-CPD/Views/Shared/_SiteLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
<head>
<title>@ViewBag.ContextModel.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta property="og:image" content="https://www.support-for-social-workers.education.gov.uk/assets/images/Title-card-with-site-image-png8.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:title" content="Support for social workers" />
<meta property="og:image" content="https://www.support-for-social-workers.education.gov.uk/assets/images/Title-card-with-site-image-png8.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Support for social workers" />
<meta name="twitter:image" content="https://www.support-for-social-workers.education.gov.uk/assets/images/Title-card-with-site-image-png8.png" />
<link href="~/css/application.min.css" rel="stylesheet" />
@if (_cookieHelper.GetRequestAnalyticsCookieState(Context) == AnalyticsConsentState.Accepted)
{
Expand Down
Loading