<commit_before>@extends('layouts.app')

@section('title')
{{ $article->title }}
@endsection
@section('content')
<div style="background-color:#fff;">
<div class="container">
	<div class="row">
		@if(Session::has('status'))
			<div class="alert alert-success">
					<button class="close" type="button" data-dismiss="alert" aria-hidden="true">&times;</button>
					{{ Session::get('status') }}
			</div>
		@endif
		<div class="col-md-8 col-md-offset-2 article_show_item">
			<h1 style="text-align:center;">{{ $article->title }}</h1>
			<hr style="border-width:2px;border-top-color:rgba(125, 116, 122, 0.98)">
				<em style="font-size:14px;margin-right:60%;">Date:({{ $article->published_at }})</em>

				<em style="font-size:14px;">Author: <a href="/profile/{{ $article->username }}">{{ $article->username }}</a></em>
					
				<article style="margin-top:20px">
					<div class="body">
						@MarkDown($article->content)
						<hr class="article-show_footline">
					</div>
				</article>
		</div>
	</div>

	<button class="btn btn-default" onclick="history.go(-1)">
		« Back
	</button>

	<div id="disqus_thread"></div>
	<script>

	/**
	 *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
	 *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
	/*
	var disqus_config = function () {
	    this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
	    this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
	};
	*/
	(function() { // DON'T EDIT BELOW THIS LINE
	    var d = document, s = d.createElement('script');
	    s.src = '//secobse.disqus.com/embed.js';
	    s.setAttribute('data-timestamp', +new Date());
	    (d.head || d.body).appendChild(s);
	})();
	</script>
	<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
	<script id="dsq-count-scr" src="//secobse.disqus.com/count.js" async></script>
</div>
</div>
@endsection

@section('js')
<script type="text/javascript">
		$('div.alert').not('.alert-important').delay(3000).slideUp(500);
</script>
@endsection<commit_msg>add scrolltop<commit_after>@extends('layouts.app')

@section('title')
{{ $article->title }}
@endsection
@section('content')
<div style="background-color:#fff;">
<a href="javascript:;" class="scrolltop"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
<div class="container">
	<div class="row">
		@if(Session::has('status'))
			<div class="alert alert-success">
					<button class="close" type="button" data-dismiss="alert" aria-hidden="true">&times;</button>
					{{ Session::get('status') }}
			</div>
		@endif
		<div class="col-md-8 col-md-offset-2 article_show_item">
			<h1 style="text-align:center;">{{ $article->title }}</h1>
			<hr style="border-width:2px;border-top-color:rgba(125, 116, 122, 0.98)">
				<em style="font-size:14px;margin-right:60%;">Date:({{ $article->published_at }})</em>

				<em style="font-size:14px;">Author: <a href="/profile/{{ $article->username }}">{{ $article->username }}</a></em>
					
				<article style="margin-top:20px">
					<div class="body">
						@MarkDown($article->content)
						<hr class="article-show_footline">
					</div>
				</article>
		</div>
	</div>

	<button class="btn btn-default" onclick="history.go(-1)">
		« Back
	</button>

	<div id="disqus_thread"></div>
	<script>

	/**
	 *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
	 *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
	/*
	var disqus_config = function () {
	    this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
	    this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
	};
	*/
	(function() { // DON'T EDIT BELOW THIS LINE
	    var d = document, s = d.createElement('script');
	    s.src = '//secobse.disqus.com/embed.js';
	    s.setAttribute('data-timestamp', +new Date());
	    (d.head || d.body).appendChild(s);
	})();
	</script>
	<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
	<script id="dsq-count-scr" src="//secobse.disqus.com/count.js" async></script>
</div>
</div>
@endsection

@section('js')
<script type="text/javascript">
		$(function(){
			$('div.alert').not('.alert-important').delay(3000).slideUp(500);
			$(window).scroll(function(){
				var t=$(this).scrollTop();
				if(t>200){
					$(".scrolltop").stop().fadeIn();
				}else{
					$(".scrolltop").stop().fadeOut();
				}
			})
			$(".scrolltop").click(function(){
				$("html,body").stop().animate({scrollTop:0},300)
			})
		});
</script>
@endsection
{'fraction_non_alphanumeric': 0.20278450363196127, 'fraction_numerical': 0.014729620661824051, 'mean_word_length': 4.273404255319149, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 100, 'https://': 4, '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': '7377598', 'n_tokens_mistral': 1954, 'n_tokens_neox': 1698, 'n_words': 336}