Skip to content

Commit

Permalink
more html5 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Oct 4, 2023
1 parent b1101f0 commit b5694fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/Moonglade.Web/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@
<div id="page-content" class="content">
@if (null != ViewBag.HideSideBar && ViewBag.HideSideBar)
{
@RenderBody()
<main>
@RenderBody()
</main>
}
else
{
Expand Down Expand Up @@ -212,9 +214,9 @@
<partial name="_Aside" />
}

<section class="col-md-12 @(BlogConfig.GeneralSettings.SideBarOption == SideBarOption.Disabled ? null : "col-lg-9")">
<main class="col-md-12 @(BlogConfig.GeneralSettings.SideBarOption == SideBarOption.Disabled ? null : "col-lg-9")">
@RenderBody()
</section>
</main>

@if (BlogConfig.GeneralSettings.SideBarOption == SideBarOption.Right)
{
Expand Down
3 changes: 2 additions & 1 deletion src/Moonglade.Web/Pages/Shared/_PostListEntry.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
}
</h4>

<p class="post-summary-text">@(Model.ContentAbstract)</p>
<abbr class="post-summary-text d-block mb-3">@(Model.ContentAbstract)</abbr>

@if (null != Model.Tags)
{
<div class="post-summary-tags pt-2">
Expand Down

0 comments on commit b5694fb

Please sign in to comment.