Просмотр исходного кода

Refresh site with magazine styling

master
nano 6 дней назад
Родитель
Сommit
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> <a href="<%= PostsUrl() %>" class="small text-decoration-none">&larr; Back to posts</a>
</div> </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 Dim publishedText
@@ -17,7 +18,7 @@


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


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


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


@@ -48,7 +49,7 @@
End If End If
On Error GoTo 0 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 %> <% If commentsLoadFailed Then %>
<div class="alert alert-warning mb-4">Comments are temporarily unavailable.</div> <div class="alert alert-warning mb-4">Comments are temporarily unavailable.</div>


Загрузка…
Отмена
Сохранить

Powered by TurnKey Linux.