소스 검색

Refresh site with magazine styling

master
nano 6 일 전
부모
커밋
669c0f7cdc
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. +5
    -4
      app/views/Posts/show.asp

+ 5
- 4
app/views/Posts/show.asp 파일 보기

@@ -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>


불러오는 중...
취소
저장

Powered by TurnKey Linux.