fix: 设置页面标题

This commit is contained in:
jackfiled 2024-01-27 22:46:15 +08:00
parent 2ff788f017
commit 4934369f3a
4 changed files with 16 additions and 0 deletions

View File

@ -5,6 +5,10 @@
@inject BlogOptions BlogOptionsInstance
@inject EssayContentService EssayContentInstance
<PageTitle>
存档
</PageTitle>
<div style="height: 100%">
<div class="archive-background" style="background-image: url('@(BlogOptionsInstance.EssayImage)')">
<div class="archive-title">

View File

@ -6,6 +6,10 @@
@inject EssayContentService EssayContent
@inject NavigationManager NavigationInstance
<PageTitle>
@(_essay!.Title)
</PageTitle>
<div style="height: 100%">
<div class="essay-background" style="background-image: url('@(BlogOptionsInstance.EssayImage)')">
<div class="essay-title">

View File

@ -6,6 +6,10 @@
@inject EssayContentService EssayContentInstance
@inject NavigationManager NavigationManagerInstance
<PageTitle>
@(BlogOptionsInstance.Author)'s Blog
</PageTitle>
<div style="height: 100%">
<div class="banner" style="background-image: url('@BlogOptionsInstance.BannerImage')">
<div class="blog-title">

View File

@ -5,6 +5,10 @@
@inject BlogOptions BlogOptionsInstance
@inject EssayContentService EssayContentInstance
<PageTitle>
标签
</PageTitle>
<div style="height: 100%">
<div class="tag-background" style="background-image: url('@(BlogOptionsInstance.EssayImage)')">
<div class="tag-title">