<commit_before>---
layout: base
---
<div class="row">
  <div class="span9">
    <h2>{{ page.title }}</h2>
    <p>由作者 <a href="/pages/about.html">{{ site.author.name }}</a> 发布于 <a href='/pages/archive.html#{{ page.date | date:"%Y-%m"}}'>{{ page.date | date:"%Y年%m月%d日" }}</a> 分类: {% for category in page.category %} <a href="/pages/categories.html#{{ category }}">{{ category }}</a> {% endfor %} | 标签: {% for tag in page.tags %} <a href="/pages/tags.html#{{ tag }}">#{{ tag }}#</a> {% endfor %}</p>
    <hr>
    <blockquote>
      <p>{{ page.description }}</p>
    </blockquote>
    <div id="content">{{ content }}</div>
    <hr>
    {% include wumi.html %}
    {% include duoshuo.html %}
  </div>
  <div class="span3">
    <div class="row">
      <div id="nav" class="span3" data-spy="affix" data-offset-top="10"></div> 
    </div>  
  </div>
</div>
<script>
  $(function(){
    $("#nav").append('<legend>目录</legend>')
    $("#content h1, h2, h3, h4, h5, h6").each(function(i) {
        var current = $(this);
        current.attr("id", "title" + i);
        tag = current.prop('tagName').substr(-1);
        $("#nav").append("<div style='margin-left:"+15*tag+"px'><a id='link" + i + "' href='#title" +i + "'>" + current.html() + "</a></div>");
    });
  });
</script><commit_msg>change margin-left of post nav<commit_after>---
layout: base
---
<div class="row">
  <div class="span9">
    <h2>{{ page.title }}</h2>
    <p>由作者 <a href="/pages/about.html">{{ site.author.name }}</a> 发布于 <a href='/pages/archive.html#{{ page.date | date:"%Y-%m"}}'>{{ page.date | date:"%Y年%m月%d日" }}</a> 分类: {% for category in page.category %} <a href="/pages/categories.html#{{ category }}">{{ category }}</a> {% endfor %} | 标签: {% for tag in page.tags %} <a href="/pages/tags.html#{{ tag }}">#{{ tag }}#</a> {% endfor %}</p>
    <hr>
    <blockquote>
      <p>{{ page.description }}</p>
    </blockquote>
    <div id="content">{{ content }}</div>
    <hr>
    {% include wumi.html %}
    {% include duoshuo.html %}
  </div>
  <div class="span3">
    <div class="row">
      <div id="nav" class="span3" data-spy="affix" data-offset-top="10"></div> 
    </div>  
  </div>
</div>
<script>
  $(function(){
    $("#nav").append('<legend>目录</legend>')
    $("#content h1, h2, h3, h4, h5, h6").each(function(i) {
        var current = $(this);
        current.attr("id", "title" + i);
        tag = current.prop('tagName').substr(-1);
        $("#nav").append("<div style='margin-left:"+15*(tag-1)+"px'><a id='link" + i + "' href='#title" +i + "'>" + current.html() + "</a></div>");
    });
  });
</script>
{'fraction_non_alphanumeric': 0.2820612165827199, 'fraction_numerical': 0.012785741960480435, 'mean_word_length': 3.1983739837398373, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6769580', 'n_tokens_mistral': 1023, 'n_tokens_neox': 1000, 'n_words': 205}