<commit_before>﻿@model StockportWebapp.Models.SubItem

<li class="article-list-item article-list-item-mobile grid-33 tablet-grid-50 mobile-grid-100 matchbox-item">
    <a href="@Model.NavigationLink" class="article-list-item-block grid-45 tablet-grid-45">
        @if (!string.IsNullOrEmpty(Model.Image))
        {
            <div style="margin: 0 -10px 0 -10px;">
                <img src="@Model.Image" alt="" />
            </div>
        }
        <div class="article-list-container">
            <div class="matchbox-child">
                <h2>@Model.Title</h2>
                <p>@Model.Teaser</p>
            </div>
        </div>
    </a>
</li><commit_msg>feat(HS_IMAGE): img srcset & hide teaser on mobile<commit_after>﻿@model StockportWebapp.Models.SubItem
@{
    var item = Model;
    var imageUrl = item.Image;
}

<li class="article-list-item article-list-item-mobile grid-33 tablet-grid-50 mobile-grid-50 matchbox-item">
    <a href="@item.NavigationLink" class="article-list-item-block grid-45 tablet-grid-45">
        @if (!string.IsNullOrEmpty(imageUrl))
        {
            <div style="margin: 0 -10px 0 -10px;">
                <img srcset="@imageUrl?w=260&q=40 260w, @imageUrl?w=360&q=60 360w, @imageUrl?w=450&q=50 450w, @imageUrl?w=350&q=50 350w"
                    sizes="(max-width: 560px) 260px, (max-width: 767px) 750px, (min-width: 768px) and (max-width: 1024px) 450px, 350px"
                    alt="" />
            </div>
        }
        <div class="article-list-container">
            <div class="matchbox-child">
                <h2>@item.Title</h2>
                <p class="hide-on-mobile">@item.Teaser</p>
            </div>
        </div>
    </a>
</li>
{'fraction_non_alphanumeric': 0.16568396226415094, 'fraction_numerical': 0.055424528301886794, 'mean_word_length': 2.1779026217228465, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '3437248', 'n_tokens_mistral': 643, 'n_tokens_neox': 567, 'n_words': 104}