Skip to content

Commit

Permalink
add atom links
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 19, 2023
1 parent 85cdfb8 commit 4ff8ad5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions src/Moonglade.Web/Pages/Components/SubList/Default.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@

@foreach (var (key, value) in Model.OrderBy(c => c.Key))
{
<div class="col-6">
<a asp-controller="Subscription" asp-action="Rss" asp-route-routeName="@value"
title="@key" class="d-block mb-2">
<i class="bi-rss"></i>
<div class="col-6 mb-2">
<span>
<i class="bi-folder2 me-1"></i>
@key
</span>
<span>(</span>
<a asp-controller="Subscription" asp-action="Rss" asp-route-routeName="@value"
title="@key">
RSS
</a>
<span> | </span>
<a asp-controller="Subscription" asp-action="Atom" asp-route-routeName="@value"
title="@key">
Atom
</a>
<span>)</span>
</div>
}
2 changes: 1 addition & 1 deletion src/Moonglade.Web/Pages/Shared/_Aside.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

@if (BlogConfig.GeneralSettings.WidgetsSubscriptionButtons)
{
<div class="modal fade" id="subscriptionmodal" tabindex="-1" role="dialog" aria-labelledby="subscriptionmodalLabel" aria-hidden="true">
<div class="modal modal-lg fade" id="subscriptionmodal" tabindex="-1" role="dialog" aria-labelledby="subscriptionmodalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
Expand Down

0 comments on commit 4ff8ad5

Please sign in to comment.