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 BlogOptions BlogOptionsInstance
@inject EssayContentService EssayContentInstance @inject EssayContentService EssayContentInstance
<PageTitle>
存档
</PageTitle>
<div style="height: 100%"> <div style="height: 100%">
<div class="archive-background" style="background-image: url('@(BlogOptionsInstance.EssayImage)')"> <div class="archive-background" style="background-image: url('@(BlogOptionsInstance.EssayImage)')">
<div class="archive-title"> <div class="archive-title">

View File

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

View File

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

View File

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