<commit_before>{{! sidebar }}

<div class="gxx_sidebar">
    {{> custom/owner}}
    {{#get "posts" limit="5" filter="image:-null" order="created_at desc"}}
    {{#if posts}}
    <div class="gxx_sidebar_t"><span>图片</span><i></i></div>
    <div class="gxx_sidebar_i">
        <div class="gxx_sidebar_i_img">
            {{#foreach posts}}
                <a href="/{{slug}}">
                    <div class="gxx_sidebar_i_imgi" style="background-image:url('{{image}}')" alt="{{title}}"></div>
                    <div class="gxx_sidebar_i_imgt">{{title}}</div>
                    <div class="gxx_sidebar_i_imgd"><i class="gxxicon-time"></i> {{date format="YYYY年MM月DD日"}}</div>
                </a>
            {{/foreach}}
        </div>
    </div>
    {{/if}}
    {{/get}}
    {{#get "tags" limit="10" filter="name:-'笔记'+name:-'作品'+name:-'杂货'" include="count.posts" order="count.posts desc"}}
    {{#if tags}}
    <div class="gxx_sidebar_t"><span>标签</span><i></i></div>
    <div class="gxx_sidebar_i">
        <div class="gxx_sidebar_i_b">
            {{#foreach tags}}
                <a href="/tag/{{slug}}">{{name}} <span>{{count.posts}}</span></a>
            {{/foreach}}
        </div>
    </div>
    {{/if}}
    {{/get}}
</div><commit_msg>fix comment bug couse by the url's last '/'<commit_after>{{! sidebar }}

<div class="gxx_sidebar">
    {{> custom/owner}}
    {{#get "posts" limit="5" filter="image:-null" order="created_at desc"}}
    {{#if posts}}
    <div class="gxx_sidebar_t"><span>图片</span><i></i></div>
    <div class="gxx_sidebar_i">
        <div class="gxx_sidebar_i_img">
            {{#foreach posts}}
                <a href="/{{slug}}/">
                    <div class="gxx_sidebar_i_imgi" style="background-image:url('{{image}}')" alt="{{title}}"></div>
                    <div class="gxx_sidebar_i_imgt">{{title}}</div>
                    <div class="gxx_sidebar_i_imgd"><i class="gxxicon-time"></i> {{date format="YYYY年MM月DD日"}}</div>
                </a>
            {{/foreach}}
        </div>
    </div>
    {{/if}}
    {{/get}}
    {{#get "tags" limit="10" filter="name:-'笔记'+name:-'作品'+name:-'杂货'" include="count.posts" order="count.posts desc"}}
    {{#if tags}}
    <div class="gxx_sidebar_t"><span>标签</span><i></i></div>
    <div class="gxx_sidebar_i">
        <div class="gxx_sidebar_i_b">
            {{#foreach tags}}
                <a href="/tag/{{slug}}/">{{name}} <span>{{count.posts}}</span></a>
            {{/foreach}}
        </div>
    </div>
    {{/if}}
    {{/get}}
</div>
{'fraction_non_alphanumeric': 0.23851030110935023, 'fraction_numerical': 0.002377179080824089, 'mean_word_length': 2.5167130919220058, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 77, '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': '617957', 'n_tokens_mistral': 916, 'n_tokens_neox': 902, 'n_words': 139}