...
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
@inject HttpClient _hc
|
||||
@inject HttpClient _hc
|
||||
@layout Shared.BlogLayout
|
||||
@page "/BlogDetails/{ItemID:int}"
|
||||
@using global::Shared.DTOs
|
||||
@@ -11,21 +10,18 @@
|
||||
|
||||
<HeadContent>
|
||||
@if (!string.IsNullOrEmpty(description))
|
||||
{<meta name="description" content="@description" />}
|
||||
{
|
||||
<meta name="description" content="@description" />
|
||||
}
|
||||
@if (!string.IsNullOrEmpty(keywords))
|
||||
{ <meta name="keywords" content="@keywords">}
|
||||
{
|
||||
<meta name="keywords" content="@keywords">
|
||||
}
|
||||
</HeadContent>
|
||||
|
||||
<main>
|
||||
|
||||
<!-- breadcrumb-area-start -->
|
||||
<div style="border-radius: .8em;" class="breadcrumb__area breadcrumb-ptb-4 p-relative blue-bg-2">
|
||||
<div class="breadcrumb__shape-1">
|
||||
<img src="img/breadcrumb/breadcrumb-shape-1.png" alt="">
|
||||
</div>
|
||||
<div class="breadcrumb__shape-2">
|
||||
<img src="img/breadcrumb/breadcrumb-shape-2.png" alt="">
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row align-items-end">
|
||||
<div class="col-xl-9 col-lg-9 col-md-9">
|
||||
@@ -39,7 +35,7 @@
|
||||
</div>
|
||||
<div class="tp-blog-author-info-box d-flex align-items-center">
|
||||
<div class="tp-blog-avata">
|
||||
<img src="img/avata/blog-avata-Publisher.png" alt="">
|
||||
<img src="img/avata/blog-avata-Publisher.png" alt="Publisher">
|
||||
</div>
|
||||
<div class="tp-blog-author-info">
|
||||
<h5>مهدی ربیع نژاد</h5>
|
||||
@@ -73,21 +69,9 @@
|
||||
<div class="col-xxl-8 col-xl-8 col-lg-8">
|
||||
<div class="postbox__details-wrapper pr-20">
|
||||
<article>
|
||||
|
||||
<div class="postbox__details-title-box pb-30">
|
||||
|
||||
@((MarkupString)Item?.Text)
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
@@ -125,12 +109,8 @@
|
||||
{
|
||||
<ItemBlog___v2 Item="item" />
|
||||
}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@if (Item != null && !string.IsNullOrEmpty(Item.Tags))
|
||||
{
|
||||
@@ -143,26 +123,18 @@
|
||||
@foreach (var item in Item.Tags.Split('-'))
|
||||
{
|
||||
string P = "/ListBlog/" + item;
|
||||
<NavLink rel="tag" href="@P">@item</NavLink>
|
||||
string itemtitle = "درباره " + item;
|
||||
<NavLink rel="tag" title="@itemtitle" href="@P">@item</NavLink>
|
||||
}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- postbox area end -->
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
@code {
|
||||
|
Reference in New Issue
Block a user