Skip to content

Commit 557f78f

Browse files
committed
Added OgData for AboutMe Page
1 parent 7812d30 commit 557f78f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

LinkDotNet.Blog.Web/Pages/AboutMe.razor

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
@using LinkDotNet.Blog.Web.Shared.Skills
33
@inject AppConfiguration appConfiguration
44
@inject AuthenticationStateProvider authenticationStateProvider
5-
@* TODO: Meta Tags About Me - [Name here] *@
5+
<OgData Title="@("About Me - " + appConfiguration.ProfileInformation.Name)"
6+
Description="@("About Me," + appConfiguration.ProfileInformation.Name)"
7+
Keywords="@appConfiguration.ProfileInformation.Name"
8+
AbsolutePreviewImageUrl="@appConfiguration.ProfileInformation.ProfilePictureUrl"></OgData>
69

710
@if (appConfiguration.IsAboutMeEnabled)
811
{
@@ -27,7 +30,6 @@
2730
}
2831

2932
@code {
30-
3133
private bool isAuthenticated;
3234

3335
protected override async Task OnInitializedAsync()
@@ -38,5 +40,4 @@
3840
isAuthenticated = userIdentity.IsAuthenticated;
3941
}
4042
}
41-
4243
}

0 commit comments

Comments
 (0)