<commit_before>---
layout: default
---

<link rel="stylesheet" href="/js/prettify/prettify.css" />
<style type="text/css">
    body { background:#e8e8e8; }
    @media screen and (max-width: 750px){
        body { background:#fff; }
    }
    @media screen and (max-width: 1020px){
        body { background:#fff; }
    }
</style>

<div id="content">
    <div class="entry">
        <h1 class="entry-title"><a href="{{ page.url }}" title="{{ page.title }}">{{ page.title }}</a></h1>
        <p class="entry-date">{{ page.date|date:"%Y-%m-%d" }}</p>
        {{ content }}
        
        <blockquote>
          <p>
          <strong>LanternD</strong>  <br>
          <img align="left" src="/img/LanternD_Logo.png" width="217px" height="60px" alt="LanternD_Logo" title="LanternD's Signature"><br></p>
        </blockquote>

        {% include pagination.html %}
        {% include comment.html %}
    </div>

    <div class="sidenav">
        Somethings needs to place here, haven't decided yet, plz wait a moment.
    </div>

    <div class="sidenav">
        <h2>图书馆分类法</h2>
        <ul class="artical-list">
            <li><a href="/">视·界</a></li>
            <li><a href="/hi-tech">Hi-Tech</a></li>
            <li><a href="/viewfinder">取景器</a></li>
            <li><a href="/cuisine">料理时</a></li>
            <li><a href="/archive.html">时间线</a></li>
        </ul>
    </div>

    {% include tag-cloud.html %}

    <div class="sidenav">
        <h2>更多关于{{page.categories.first}}的文章</h2>
        <ul class="artical-list">
<!-- test0 -->
            {% assign current_cate = page.categories.first %}

            {% for posts in site.posts %}{% if posts.categories.first == current_cate %}
              <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endif %}{% endfor %}
<!-- test1 -->
            {% for post in site.categories.current_cate %}
              <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endfor %}
<!-- test2 -->
            <a href="\_includes\show-category.html?cat={{page.categories}}">{{ post.title }}</a>
            <!-- test3 -->
            {% for post in site.categories.{{page.categories.first}} %}
                <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endfor %}
<!-- test4 -->
            {% for cat in site.categories %}{% if cat == page.categories.first %}
                {% for post in site.categories.[cat] %}
                <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endif %}{% endfor %}
<!-- test5 -->
            {% for post in site.categories.[page.category] %}
                <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endfor %}
<!-- test6 -->
        {% case page.categories.first %}

            {% when 'blog' %}
                {% for post in site.categories.blog limit:15%}
                    <li><a href="{{ post.url }}">{{ post.title }}</a></li>
                {% endfor %}

            {% when 'hitech' %}
                {% for post in site.categories.hitech limit:15 %}
                    <li><a href="{{ post.url }}">{{ post.title }}</a></li>
                {% endfor %}<commit_msg>update related posts, test fix bugs<commit_after>---
layout: default
---

<link rel="stylesheet" href="/js/prettify/prettify.css" />
<style type="text/css">
    body { background:#e8e8e8; }
    @media screen and (max-width: 750px){
        body { background:#fff; }
    }
    @media screen and (max-width: 1020px){
        body { background:#fff; }
    }
</style>

<div id="content">
    <div class="entry">
        <h1 class="entry-title"><a href="{{ page.url }}" title="{{ page.title }}">{{ page.title }}</a></h1>
        <p class="entry-date">{{ page.date|date:"%Y-%m-%d" }}</p>
        {{ content }}
        
        <blockquote>
          <p>
          <strong>LanternD</strong>  <br>
          <img align="left" src="/img/LanternD_Logo.png" width="217px" height="60px" alt="LanternD_Logo" title="LanternD's Signature"><br></p>
        </blockquote>

        {% include pagination.html %}
        {% include comment.html %}
    </div>

    <div class="sidenav">
        Somethings needs to place here, haven't decided yet, plz wait a moment.
    </div>

    <div class="sidenav">
        <h2>图书馆分类法</h2>
        <ul class="artical-list">
            <li><a href="/">视·界</a></li>
            <li><a href="/hi-tech">Hi-Tech</a></li>
            <li><a href="/viewfinder">取景器</a></li>
            <li><a href="/cuisine">料理时</a></li>
            <li><a href="/archive.html">时间线</a></li>
        </ul>
    </div>

    {% include tag-cloud.html %}

    <div class="sidenav">
        <h2>更多关于{{page.categories.first}}的文章</h2>
        <ul class="artical-list">

<!-- test0 
            {% assign current_cate = page.categories.first %}

            {% for posts in site.posts %}{% if posts.categories.first == current_cate %}
              <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endif %}{% endfor %}-->
<!-- test1 
            {% for post in site.categories.current_cate %}
              <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endfor %}-->
<!-- test2 
            <a href="\_includes\show-category.html?cat={{page.categories}}">{{ post.title }}</a> 
            {% for post in site.categories.{{page.categories.first}} %}
                <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endfor %}-->
<!-- test3 
            {% for cat in site.categories %}{% if cat == page.categories.first %}
                {% for post in site.categories.[cat] %}
                <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endif %}{% endfor %}-->
<!-- test4 
            {% for post in site.categories.[page.category] %}
                <li><a href="{{ post.url }}">{{ post.title }}</a></li>
            {% endfor %}-->
<!-- test5 -->
        {% case page.categories.first %}

            {% when 'blog' %}
                {% for post in site.categories.blog limit:15%}
                    <li><a href="{{ post.url }}">{{ post.title }}</a></li>
                {% endfor %}

            {% when 'hitech' %}
                {% for post in site.categories.hitech limit:15 %}
                    <li><a href="{{ post.url }}">{{ post.title }}</a></li>
                {% endfor %}
{'fraction_non_alphanumeric': 0.21826210376912158, 'fraction_numerical': 0.009935341428796719, 'mean_word_length': 1.8814175374829623, 'pattern_counts': {'":': 0, '<': 182, '<?xml version=': 0, '>': 182, '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': '3172307', 'n_tokens_mistral': 2186, 'n_tokens_neox': 2033, 'n_words': 410}