<commit_before><div class="mdl-card mdl-shadow--2dp">
	<div class="mdl-card__title" style="padding-bottom:7px">
		<h2 class="mdl-card__title-text">
			@if(isset($show_comments))
				{{ $data->title }}
			@else
				<a href="{!! action('NewsController@page', [ 'slug' => $data->slug ]) !!}" target="_self">{{ $data->title }}</a>
			@endif
		</h2>

		@if(Auth::check())
			<button id="news-{{ $data->id }}" class="mdl-button mdl-js-button mdl-button--icon">
				<i class="material-icons">more_vert</i>
			</button>

			<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="news-{{ $data->id }}">
				<a class="text-decoration--none" href="{!! action('NewsController@manage', [ 'slug' => $data->slug ]) !!}" target="_self"><li class="mdl-menu__item">Editar</li></a>
				<a class="text-decoration--none" href="{!! action('NewsController@deleteWarning', [ 'slug' => $data->slug ]) !!}" target="_self"><li class="mdl-menu__item">Remover</li></a>
			</ul>
		@endif
	</div>

	<div class="mdl-card__supporting-text mdl-card--no-padding">
		<?php $category = \App\Models\NewsCategory::find($data->id_category); ?>
		<span id="date-created-{{ $data->id }}">
			@if($data->created_at->year < \Carbon\Carbon::now()->year) {{-- Show the year if not from the current one --}}
				{{ utf8_encode($data->created_at->formatLocalized('%A, %d %B, %Y')) }}
			@else
				{{ utf8_encode($data->created_at->formatLocalized('%A, %d de %B')) }}
			@endif
		</span>
		@if($data->updated_at != $data->created_at)
			<div class="mdl-tooltip" for="date-created-{{ $data->id }}">
				editado
				@if($data->updated_by > 0)
					@if($user = \App\User::find($data->updated_by))<commit_msg>Show relative publishing date if less than one day has passed.<commit_after><div class="mdl-card mdl-shadow--2dp">
	<div class="mdl-card__title" style="padding-bottom:7px">
		<h2 class="mdl-card__title-text">
			@if(isset($show_comments))
				{{ $data->title }}
			@else
				<a href="{!! action('NewsController@page', [ 'slug' => $data->slug ]) !!}" target="_self">{{ $data->title }}</a>
			@endif
		</h2>

		@if(Auth::check())
			<button id="news-{{ $data->id }}" class="mdl-button mdl-js-button mdl-button--icon">
				<i class="material-icons">more_vert</i>
			</button>

			<ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="news-{{ $data->id }}">
				<a class="text-decoration--none" href="{!! action('NewsController@manage', [ 'slug' => $data->slug ]) !!}" target="_self"><li class="mdl-menu__item">Editar</li></a>
				<a class="text-decoration--none" href="{!! action('NewsController@deleteWarning', [ 'slug' => $data->slug ]) !!}" target="_self"><li class="mdl-menu__item">Remover</li></a>
			</ul>
		@endif
	</div>

	<div class="mdl-card__supporting-text mdl-card--no-padding">
		<?php $category = $data->category ?>
		<?php $now = \Carbon\Carbon::now() ?>
		<span id="date-created-{{ $data->id }}">
			@if($data->created_at->year < $now->year) {{-- Show the year if not from the current one --}}
				{{ utf8_encode($data->created_at->formatLocalized('%A, %d %B, %Y')) }}
			@else
				@if($data->created_at->diff($now)->days < 1)
					<strong>{{ $data->updated_at->diffForHumans() }}</strong>
				@else
					{{ utf8_encode($data->created_at->formatLocalized('%A, %d de %B')) }}
				@endif
			@endif
		</span>
		@if($data->updated_at != $data->created_at)
			<div class="mdl-tooltip" for="date-created-{{ $data->id }}">
				editado
				@if($data->updated_by > 0)
					@if($user = \App\User::find($data->updated_by))
{'fraction_non_alphanumeric': 0.24490950226244343, 'fraction_numerical': 0.004242081447963801, 'mean_word_length': 4.247774480712166, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 113, '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': '347804', 'n_tokens_mistral': 1464, 'n_tokens_neox': 1313, 'n_words': 217}