| @@ -1,10 +1,11 @@ | |||||
| <div class="d-flex align-items-center justify-content-between mb-4"> | |||||
| <div> | |||||
| <h1 class="h3 mb-1">Posts</h1> | |||||
| <p class="text-muted mb-0">Published articles from ASPBlogBrainOrdure.</p> | |||||
| </div> | |||||
| <div class="d-flex align-items-center justify-content-between mb-4"> | |||||
| <div> | |||||
| <div class="eyebrow mb-2">Latest issue</div> | |||||
| <h1 class="page-title h3 mb-1">Posts</h1> | |||||
| <p class="text-muted mb-0">Published articles from ASPBlogBrainOrdure.</p> | |||||
| </div> | |||||
| <a class="btn btn-primary" href="<%= PostNewUrl() %>">New Post</a> | <a class="btn btn-primary" href="<%= PostNewUrl() %>">New Post</a> | ||||
| </div> | |||||
| </div> | |||||
| <% | <% | ||||
| Dim postIter, postItem, shownCount | Dim postIter, postItem, shownCount | ||||
| @@ -17,21 +18,21 @@ If posts.Count = 0 Then | |||||
| <% | <% | ||||
| Else | Else | ||||
| %> | %> | ||||
| <div class="row gy-3"> | |||||
| <% | |||||
| Do While postIter.HasNext And shownCount < 20 | |||||
| Set postItem = postIter.GetNext() | |||||
| shownCount = shownCount + 1 | |||||
| %> | |||||
| <div class="col-12"> | |||||
| <article class="card shadow-sm"> | |||||
| <div class="card-body"> | |||||
| <div class="d-flex flex-column flex-md-row justify-content-between gap-2"> | |||||
| <h2 class="h5 mb-1"> | |||||
| <div class="row gy-3 magazine-list"> | |||||
| <% | |||||
| Do While postIter.HasNext And shownCount < 20 | |||||
| Set postItem = postIter.GetNext() | |||||
| shownCount = shownCount + 1 | |||||
| %> | |||||
| <div class="col-12"> | |||||
| <article class="card shadow-sm"> | |||||
| <div class="card-body"> | |||||
| <div class="d-flex flex-column flex-md-row justify-content-between gap-2 mb-2"> | |||||
| <h2 class="h4 mb-1"> | |||||
| <a href="<%= PostUrl(postItem.Slug) %>" class="text-decoration-none"> | <a href="<%= PostUrl(postItem.Slug) %>" class="text-decoration-none"> | ||||
| <%= H(postItem.Title) %> | <%= H(postItem.Title) %> | ||||
| </a> | </a> | ||||
| </h2> | |||||
| </h2> | |||||
| <% | <% | ||||
| Dim publishedText | Dim publishedText | ||||
| publishedText = "" | publishedText = "" | ||||
| @@ -45,10 +46,10 @@ Else | |||||
| %> | %> | ||||
| <span class="small text-muted"><%= H(publishedText) %></span> | <span class="small text-muted"><%= H(publishedText) %></span> | ||||
| <% | <% | ||||
| End If | |||||
| %> | |||||
| </div> | |||||
| <p class="text-muted mb-3"><%= H(postItem.Summary) %></p> | |||||
| End If | |||||
| %> | |||||
| </div> | |||||
| <p class="text-muted mb-3 prose"><%= H(postItem.Summary) %></p> | |||||
| <a class="btn btn-sm btn-outline-primary" href="<%= PostUrl(postItem.Slug) %>">Read</a> | <a class="btn btn-sm btn-outline-primary" href="<%= PostUrl(postItem.Slug) %>">Read</a> | ||||
| </div> | </div> | ||||
| </article> | </article> | ||||
Powered by TurnKey Linux.