File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 16
16
<li ><h6 class =" dropdown-header" >Others</h6 ></li >
17
17
<li ><a class =" dropdown-item" href =" Sitemap" >Sitemap</a ></li >
18
18
<li ><hr class =" dropdown-divider" ></li >
19
- <li ><a class =" dropdown-item" target =" _blank" href =" https://github.com/linkdotnet/Blog/releases" rel =" noreferrer" >Version 4.3 </a ></li >
19
+ <li ><a class =" dropdown-item" target =" _blank" href =" https://github.com/linkdotnet/Blog/releases" rel =" noreferrer" >@_version </a ></li >
20
20
</ul >
21
21
</li >
22
22
<li class =" nav-item" ><a class =" nav-link" href =" logout?redirectUri=@CurrentUri" ><i class =" lock" ></i > Log out</a ></li >
27
27
</AuthorizeView >
28
28
29
29
@code {
30
+ private const string _version = $" {ThisAssembly .Git .Tag } - {ThisAssembly .Git .Commit }" ;
31
+
30
32
[Parameter ]
31
33
public string CurrentUri { get ; set ; } = string .Empty ;
32
-
33
34
}
Original file line number Diff line number Diff line change 7
7
<ItemGroup >
8
8
<PackageReference Include =" Blazored.Toast" Version =" 4.0.0" />
9
9
<PackageReference Include =" BuildBundlerMinifier" Version =" 3.2.449" />
10
+ <PackageReference Include =" GitInfo" Version =" 2.3.0" />
10
11
<PackageReference Include =" Markdig" Version =" 0.30.4" />
11
12
<PackageReference Include =" Microsoft.AspNetCore.Authentication.OpenIdConnect" Version =" 7.0.2" />
12
13
<PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite" Version =" 7.0.2" />
You can’t perform that action at this time.
0 commit comments