linking to comment from all comments page

This commit is contained in:
Hamid Reza Mohammadi 2021-05-20 10:45:23 +04:30
parent 36f54a0c95
commit c64542255d
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ namespace GanjooRazor.Pages
foreach (var comment in comments)
{
htmlText += $"<blockquote>{comment.HtmlComment}{Environment.NewLine}" +
$"<p>{comment.AuthorName} <small>در {comment.CommentDate.ToFriendlyPersianDateTextify()}</small> دربارهٔ <a href=\"{comment.Poem.UrlSlug}\">{comment.Poem.Title}</a>" +
$"<p>{comment.AuthorName} <small>در {comment.CommentDate.ToFriendlyPersianDateTextify()}</small> دربارهٔ <a href=\"{comment.Poem.UrlSlug}#comment-{comment.Id}\">{comment.Poem.Title}</a>" +
$"</blockquote>{Environment.NewLine}<hr />{Environment.NewLine}";
}

View File

@ -8,6 +8,6 @@
},
"AllowedHosts": "*",
"GoogleAnalyticsCode": "",
"APIRoot": "http://localhost:3439",
"GlobalAPIRoot": "http://localhost:3439"
"APIRoot": "https://ganjgah.ir",
"GlobalAPIRoot": "https://ganjgah.ir"
}