<commit_before>{{ define "main"  }}
<div class="panel panel-default">
  <div class="panel-body">
      <article id='post' >
	<div class='title'> {{ .Title }} </div>
	  {{ if eq .Section "post" }}
	  <span class="text-muted">Posted by:&nbsp;{{ .Date.Format "Mon Jan 2, 2006" }}</span>
{{ end }}
	  {{ .Content }}

	  {{ if eq .Section "post" }}
	  	  <div class="tags">	
	    <p class="categories">
	  {{ range .Params.categories }}
	  <a class="btn btn-default btn-xs text-capitalize" href="/categories/{{ . | urlize }}">{{ . }}</a>
	  {{ end }}
	    </p>
	    {{ partial "post/tag/list" . }}
	    	  </div>
	    {{ end }}

{{ template "_internal/disqus.html" . }}
      </div>
      </div></article>

{{ end }}
<commit_msg>add show reading time and word count<commit_after>{{ define "main"  }}
<div class="panel panel-default">
  <div class="panel-body">
      <article id='post' >
	<div class='title'> {{ .Title }} </div>
	  {{ if eq .Section "post" }}
	  <span class="text-muted">Posted by:&nbsp;{{ .Date.Format "Mon Jan 2, 2006" }} | 
	  Word Count: {{ .WordCount }}&nbsp;&nbsp; | 
	  Reading Time: {{ .ReadingTime }} Minute&nbsp;&nbsp;</span>
{{ end }}
	  {{ .Content }}

	  {{ if eq .Section "post" }}
	  	  <div class="tags">	
	    <p class="categories">
	  {{ range .Params.categories }}
	  <a class="btn btn-default btn-xs text-capitalize" href="/categories/{{ . | urlize }}">{{ . }}</a>
	  {{ end }}
	    </p>
	    {{ partial "post/tag/list" . }}
	    	  </div>
	    {{ end }}

{{ template "_internal/disqus.html" . }}
      </div>
      </div></article>

{{ end }}

{'fraction_non_alphanumeric': 0.23096446700507614, 'fraction_numerical': 0.006345177664974619, 'mean_word_length': 2.650462962962963, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '215187', 'n_tokens_mistral': 597, 'n_tokens_neox': 545, 'n_words': 129}