<%= H(featuredPost.Title) %>
+<%= H(featuredPost.Title) %>
+<%= H(featuredPost.Summary) %>
<% - Dim featuredPublishedText - featuredPublishedText = "" + homePublishedText = "" If IsDate(featuredPost.PublishedDate) Then If CDate(featuredPost.PublishedDate) > #1/1/1970# Then - featuredPublishedText = FormatDateTime(featuredPost.PublishedDate, vbLongDate) + homePublishedText = FormatDateTime(featuredPost.PublishedDate, vbLongDate) End If End If - If Len(featuredPublishedText) > 0 Then + homeReadTime = EstimateReadTime(featuredPost.Body) %> - - <% - End If - %> -<%= H(featuredPost.Summary) %>
- Read the feature +- <%= H(latestPostItem.Title) %> -
-<%= H(latestPostItem.Summary) %>
- Continue reading -Latest stories
+ <% + Dim homePreviewCount + homePreviewCount = 0 + Do While homePostIter.HasNext And homePreviewCount < 4 + Set homePostItem = homePostIter.GetNext() + homePreviewCount = homePreviewCount + 1 + homePublishedText = "" + If IsDate(homePostItem.PublishedDate) Then + If CDate(homePostItem.PublishedDate) > #1/1/1970# Then + homePublishedText = FormatDateTime(homePostItem.PublishedDate, vbLongDate) + End If + End If + homeReadTime = EstimateReadTime(homePostItem.Body) + homeCardImage = ExtractFirstImageSrc(homePostItem.Body) + %> +<%= H(homePostItem.Title) %>
+<%= H(homePostItem.Summary) %>
+Browse the paper
- <% If categories.Count = 0 Then %> -No categories are available yet.
- <% Else %> --
- <%
+
Why it feels different
-The layout now leans into a front-page magazine structure with a feature story, supporting briefs, and a quieter sidebar for section navigation.
+BrainOrdure is now styled like a modern editorial blog with cleaner reading flow, stronger story hierarchy, and better navigation.
+