Skip to content

Commit

Permalink
Added other pagetitle to be HTML compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Nov 30, 2024
1 parent 28fb2ef commit 41215b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/LinkDotNet.Blog.Web/Features/AboutMe/AboutMePage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
@inject NavigationManager NavigationManager
@inject IOptions<ProfileInformation> ProfileInformation

<PageTitle>About Me - @ProfileInformation.Value.Name</PageTitle>

@if (AppConfiguration.Value.IsAboutMeEnabled)
{
<OgData Title="@("About Me - " + ProfileInformation.Value.Name)"
Expand Down
2 changes: 2 additions & 0 deletions src/LinkDotNet.Blog.Web/Features/Archive/ArchivePage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
@using System.Collections.Immutable
@using System.Globalization
@inject IRepository<BlogPost> Repository
@inject IOptions<ApplicationConfiguration> AppConfiguration

<PageTitle>Archive @AppConfiguration.Value.BlogName</PageTitle>
<OgData Title="Archive" Description="Explore all blog posts."></OgData>

<div class="container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

@if (SupportConfiguration.Value.ShowSupportMePage)
{
<PageTitle>Support Me</PageTitle>
<OgData Title="@("Support Me - " + ProfileInformation.Value.Name)"
Description="@("Support Me - " + ProfileInformation.Value.Name)"
Keywords="@($"Donation,Support,{ProfileInformation.Value.Name})")"
Expand Down

0 comments on commit 41215b1

Please sign in to comment.