Browse Source

Refresh site with magazine styling

master
nano 5 days ago
parent
commit
669c0f7cdc
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      app/views/Posts/show.asp

+ 5
- 4
app/views/Posts/show.asp View File

@@ -4,7 +4,8 @@
<a href="<%= PostsUrl() %>" class="small text-decoration-none">&larr; Back to posts</a>
</div>

<h1 class="h2 mb-2"><%= H(post.Title) %></h1>
<div class="magazine-label mb-3">Feature story</div>
<h1 class="display-6 mb-2"><%= H(post.Title) %></h1>

<%
Dim publishedText
@@ -17,7 +18,7 @@

If Len(publishedText) > 0 Then
%>
<p class="text-muted"><%= H(publishedText) %></p>
<p class="article-meta"><%= H(publishedText) %></p>
<%
End If

@@ -28,7 +29,7 @@
postBody = Replace(postBody, vbLf, "<br>")
%>

<div class="fs-5 lh-lg"><%= postBody %></div>
<div class="prose fs-5 lh-lg"><%= postBody %></div>
</div>
</article>

@@ -48,7 +49,7 @@
End If
On Error GoTo 0
%>
<h2 class="h4 mb-3">Comments (<%= commentsCount %>)</h2>
<h2 class="page-title h4 mb-3">Comments (<%= commentsCount %>)</h2>

<% If commentsLoadFailed Then %>
<div class="alert alert-warning mb-4">Comments are temporarily unavailable.</div>


Loading…
Cancel
Save

Powered by TurnKey Linux.