<commit_before>﻿@using NGM.Forum.Extensions
@using NGM.Forum.Models
@using Orchard.ContentManagement
@using Orchard.Core.Common.Models
@using Orchard.UI.Navigation
@{
    var contentItem = (ContentItem)Model.ContentPart.ContentItem;
    var commonPart = contentItem.As<CommonPart>();
    var postPart = (PostPart)Model.FirstPostContentPart;

    var pager = (Pager) Model.Pager;
}
<div class="latestPost post-metadata">
    <span class="author">@T("Latest post by {0},", commonPart.Owner.UserName)</span>
    <span class="published"><a href="@Url.PostView(postPart, pager)">@Display.PublishedState(createdDateTimeUtc: commonPart.CreatedUtc, publisheddateTimeUtc: commonPart.PublishedUtc)</a></span>
</div><commit_msg>fixing broken view<commit_after>﻿@using NGM.Forum.Extensions
@using NGM.Forum.Models
@using Orchard.ContentManagement
@using Orchard.Core.Common.Models
@using Orchard.UI.Navigation
@{
    var contentItem = (ContentItem)Model.ContentPart.ContentItem;
    var commonPart = contentItem.As<CommonPart>();
    var postPart = (PostPart)Model.ContentPart;

    var pager = (Pager) Model.Pager;
}
<div class="latestPost post-metadata">
    <span class="author">@T("Latest post by {0},", commonPart.Owner.UserName)</span>
    <span class="published"><a href="@Url.PostView(postPart, pager)">@Display.PublishedState(createdDateTimeUtc: commonPart.CreatedUtc, publisheddateTimeUtc: commonPart.PublishedUtc)</a></span>
</div>
{'fraction_non_alphanumeric': 0.14405594405594405, 'fraction_numerical': 0.0013986013986013986, 'mean_word_length': 6.338461538461538, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1765620', 'n_tokens_mistral': 467, 'n_tokens_neox': 452, 'n_words': 81}