<commit_before>extends base.jade

block head
	//- +h.load('markdown')
	+h.load('/template/css/code.css')

block content
	.detail_post.container

	h1.title= post.title

	if post.metadata.revisedate
		reviseTime = "，最后修改时间 " + post.metadata.revisedate.format('%Y年%m月%d日 %A %H:%M') + "。"
	else
		reviseTime = "。"

	.post-describe= '本文由 <a href="/" target="_blank">' + site.configs.author + '</a> ，于' + post.date.format('%Y年%m月%d日 %A %H:%M') + '发布' + reviseTime 

	if post.metedata.copyright
		.post-copyright= post.metedata.copyright

	.post_body.markdown= post.content

	.post-info.clearfix

		.date.clearfix
			i.icon.icon-time
			span.time= post.date.format('%Y-%m-%d %H:%M')

		if post.metadata.reviseDate
			.revise-date
				i.icon.icon-time
				span.revise-time= post.metadata.reviseDate.format('%Y-%m-%d %H:%M')

		.visitors.clearfix
			i.icon.icon-book
			span= post.visits or 0

		if post.tags
			.post-tags.clearfix
				i.icon.icon-tags
				.tags.clearfix: for tag in post.tags
					a(href="/tag/{{tag}}")= tag

	hr.post_body_end

	.post-share

	//- +util.html_comments(post)
	div.post-comments#post-comments
		// 默认的
		+post.comments_as_html()
		// disqus


	//- 上一篇、下一篇
	.related_posts.clearfix
		if posts.pre_one
			a.action.pre(href=posts.pre_one.url,title=posts.pre_one.title)
				.arrow.icon.icon-chevron-left
				span= posts.pre_one.title
		if posts.next_one
			a.action.next(href=posts.next_one.url,title=posts.pre_one.title)
				.arrow.icon.icon-chevron-right
				span= posts.next_one.title
		//- a.gotop.icon-arrow_up(href="#")
// 加载Disqus
block script
	script.
		CDSWYDA.loadDisqus(document.getElementById('post-comments'));<commit_msg>indent<commit_after>extends base.jade

block head
	//- +h.load('markdown')
	+h.load('/template/css/code.css')

block content
	.detail_post.container

		h1.title= post.title

		if post.metadata.revisedate
			reviseTime = "，最后修改时间 " + post.metadata.revisedate.format('%Y年%m月%d日 %A %H:%M') + "。"
		else
			reviseTime = "。"

		.post-describe= '本文由 <a href="/" target="_blank">' + site.configs.author + '</a> ，于' + post.date.format('%Y年%m月%d日 %A %H:%M') + '发布' + reviseTime 

		if post.metedata.copyright
			.post-copyright= post.metedata.copyright

		.post_body.markdown= post.content

		.post-info.clearfix

			.date.clearfix
				i.icon.icon-time
				span.time= post.date.format('%Y-%m-%d %H:%M')

			if post.metadata.reviseDate
				.revise-date
					i.icon.icon-time
					span.revise-time= post.metadata.reviseDate.format('%Y-%m-%d %H:%M')

			.visitors.clearfix
				i.icon.icon-book
				span= post.visits or 0

			if post.tags
				.post-tags.clearfix
					i.icon.icon-tags
					.tags.clearfix: for tag in post.tags
						a(href="/tag/{{tag}}")= tag

		hr.post_body_end

		.post-share

		//- +util.html_comments(post)
		div.post-comments#post-comments
			// 默认的
			+post.comments_as_html()
			// disqus


		//- 上一篇、下一篇
		.related_posts.clearfix
			if posts.pre_one
				a.action.pre(href=posts.pre_one.url,title=posts.pre_one.title)
					.arrow.icon.icon-chevron-left
					span= posts.pre_one.title
			if posts.next_one
				a.action.next(href=posts.next_one.url,title=posts.pre_one.title)
					.arrow.icon.icon-chevron-right
					span= posts.next_one.title
			//- a.gotop.icon-arrow_up(href="#")
// 加载Disqus
block script
	script.
		CDSWYDA.loadDisqus(document.getElementById('post-comments'));
{'fraction_non_alphanumeric': 0.1686602870813397, 'fraction_numerical': 0.0011961722488038277, 'mean_word_length': 3.1708229426433916, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4344458', 'n_tokens_mistral': 1568, 'n_tokens_neox': 1374, 'n_words': 195}