Browse Source

Merge pull request #12521 from abpframework/berkan/blog-header

blogging: remove unnecessary header link
pull/12592/head
albert 4 years ago
committed by GitHub
parent
commit
c0fb2a7afe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml
  2. 2
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/detail.js

4
modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml

@ -56,9 +56,7 @@
<section class="hero-section">
<div class="hero-articles">
<div class="hero-content">
<h1 class="mb-3">
<a asp-page="./Detail" asp-route-postUrl="@Model.Post.Url" asp-route-blogShortName="@Model.BlogShortName" id="PostTitle">@Model.Post.Title</a>
</h1>
<h1 class="mb-3" id="PostTitle">@Model.Post.Title</h1>
<div class="article-owner">
<div class="article-infos">

2
modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/detail.js

@ -5,7 +5,7 @@
var re = new RegExp(/^.*\//);
var rootUrl = re.exec(window.location.href);
var pageHeader = $('#PostTitle').text();
var pageHeader = $('#PostTitle').text().trim();
var blogName = $('#BlogFullName').attr('name');
$('#TwitterShareLink').attr(

Loading…
Cancel
Save