Skip to content

Commit

Permalink
add webmention meta section
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed May 30, 2024
1 parent 7dfd4e9 commit a8d9766
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Moonglade.Web/Pages/Post.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
{
<partial name="_DublinCoreMetaData" model="Model" />
}

@if (BlogConfig.AdvancedSettings.EnableWebmention)
{
<link rel="webmention" href="@(Helper.ResolveCanonicalUrl(BlogConfig.GeneralSettings.CanonicalPrefix, "webmention"))">
}

<link href="~/css/post.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/highlighter-custom.css" rel="stylesheet" asp-append-version="true" />
@if (BlogConfig.ContentSettings.DocumentOutline)
Expand Down

0 comments on commit a8d9766

Please sign in to comment.