<commit_before><div class="jumbotron home-header">
  <div class="container">
	{include file='navbar.tpl'}
	<center>
	  <br /><br /><br />
	  <h1>{$SITE_NAME}</h1>

	  {if isset($MINECRAFT)}
		<hr />
		{if isset($SERVER_QUERY)}
		  {if isset($SERVER_QUERY.status_value) && $SERVER_QUERY.status_value == 1}
			{if isset($SERVER_QUERY.status_full)}
				<p class="lg">{$SERVER_QUERY.status_full}</p>
			{else}
			    <p class="lg">{$SERVER_QUERY.x_players_online}</p>
			{/if}
		  {else}
		    <p class="lg">{$SERVER_OFFLINE}</p>
		  {/if}
		{/if}
		<p class="lg">{$CONNECT_WITH}</p>
	  {/if}
	</center>

  </div>
</div>

<div class="container">
  <div class="home-news">
    <br />
	{if isset($HOME_SESSION_FLASH)}
        <div class="alert alert-info">
            {$HOME_SESSION_FLASH}
        </div>
	{/if}
	{if isset($HOME_SESSION_ERROR_FLASH)}
        <div class="alert alert-danger">
            {$HOME_SESSION_ERROR_FLASH}
        </div>
	{/if}
	<div class="row">

	  {if isset($NEWS)}
	  <div class="col-md-8">
	    <center><h2>{$LATEST_ANNOUNCEMENTS} <i class="fa fa-bullhorn"></i></h2></center>
		<hr />
		{foreach from=$NEWS item=item}
		<div class="card">
		  <div class="card-header"><div class="jumbotron home-header">
  <div class="container">
	{include file='navbar.tpl'}
	<center>
	  <br /><br /><br />
	  <h1>{$SITE_NAME}</h1>

	  {if isset($MINECRAFT)}
		<hr />
		{if isset($SERVER_QUERY)}
		  {if isset($SERVER_QUERY.status_value) && $SERVER_QUERY.status_value == 1}
			{if isset($SERVER_QUERY.status_full)}
				<p class="lg">{$SERVER_QUERY.status_full}</p>
			{else}
			    <p class="lg">{$SERVER_QUERY.x_players_online}</p>
			{/if}
		  {else}
		    <p class="lg">{$SERVER_OFFLINE}</p>
		  {/if}
		{/if}
		<p class="lg">{$CONNECT_WITH}</p>
	  {/if}
	</center>

  </div>
</div>

<div class="container">
<div class="card">
  <div class="card-body">
  <div class="home-news">
	{if isset($HOME_SESSION_FLASH)}
        <div class="alert alert-info">
            {$HOME_SESSION_FLASH}
        </div>
	{/if}
	{if isset($HOME_SESSION_ERROR_FLASH)}
        <div class="alert alert-danger">
            {$HOME_SESSION_ERROR_FLASH}
        </div>
	{/if}
	<div class="row">

	  {if isset($NEWS)}
	  <div class="col-md-8">
	    <center><h2>{$LATEST_ANNOUNCEMENTS} <i class="fa fa-bullhorn"></i></h2></center>
		<hr />
		{foreach from=$NEWS item=item}
		<div class="card">
		  <div class="card-header">
			<a href="{$item.url}">{$item.title}</a>
			<span class="pull-right" data-toggle="tooltip" title="{$item.date}">{$item.time_ago}</span>
		  </div>
		  <div class="card-body">
			<div class="forum_post">
			  {$item.content}
			</div>
			<hr />
			<a href="{$item.author_url}"><img class="rounded-circle" style="height:30px;width=30px;" src="{$item.author_avatar}" /></a> <a href="{$item.author_url}" style="{$item.author_style}">{$item.author_name}</a>
		    <span class="pull-right"><a href="{$item.url}" class="btn btn-primary btn-sm">{$READ_FULL_POST} &raquo;</a></span>
		  </div>
		</div>
		<br />
		{/foreach}
	  </div>
	  <div class="col-md-4">

	  {else}
	  <div class="col-md-4 offset-md-4">
	  {/if}

	    <center><h2>{$SOCIAL} <i class="fa fa-users" aria-hidden="true"></i></h2></center>
	    <hr />
		{if count($WIDGETS)}
		  {foreach from=$WIDGETS item=widget}
			{$widget}
			<br /><br />
		  {/foreach}
		{/if}

	  </div>
	</div>
  </div>
  </div>
</div>
</div>

{include file='footer.tpl'}
			<a href="{$item.url}">{$item.title}</a>
			<span class="pull-right" data-toggle="tooltip" title="{$item.date}">{$item.time_ago}</span>
		  </div>
		  <div class="card-body">
			<div class="forum_post">
			  {$item.content}
			</div>
			<hr />
			<a href="{$item.author_url}"><img class="rounded-circle" style="height:30px;width=30px;" src="{$item.author_avatar}" /></a> <a href="{$item.author_url}" style="{$item.author_style}">{$item.author_name}</a>
		    <span class="pull-right"><a href="{$item.url}" class="btn btn-primary btn-sm">{$READ_FULL_POST} &raquo;</a></span>
		  </div>
		</div>
		<br />
		{/foreach}
	  </div>
	  <div class="col-md-4">

	  {else}
	  <div class="col-md-4 offset-md-4">
	  {/if}

	    <center><h2>{$SOCIAL} <i class="fa fa-users" aria-hidden="true"></i></h2></center>
	    <hr />
		{if count($WIDGETS)}
		  {foreach from=$WIDGETS item=widget}
			{$widget}
			<br /><br />
		  {/foreach}
		{/if}

	  </div>
	</div>
  </div>
</div>

{include file='footer.tpl'}
<commit_msg>Reupload - Fix card body on homepage<commit_after><div class="jumbotron home-header">
  <div class="container">
	{include file='navbar.tpl'}
	<center>
	  <br /><br /><br />
	  <h1>{$SITE_NAME}</h1>

	  {if isset($MINECRAFT)}
		<hr />
		{if isset($SERVER_QUERY)}
		  {if isset($SERVER_QUERY.status_value) && $SERVER_QUERY.status_value == 1}
			{if isset($SERVER_QUERY.status_full)}
				<p class="lg">{$SERVER_QUERY.status_full}</p>
			{else}
			    <p class="lg">{$SERVER_QUERY.x_players_online}</p>
			{/if}
		  {else}
		    <p class="lg">{$SERVER_OFFLINE}</p>
		  {/if}
		{/if}
		<p class="lg">{$CONNECT_WITH}</p>
	  {/if}
	</center>

  </div>
</div>

<div class="container">
<div class="card">
  <div class="card-body">
  <div class="home-news">
	{if isset($HOME_SESSION_FLASH)}
        <div class="alert alert-info">
            {$HOME_SESSION_FLASH}
        </div>
	{/if}
	{if isset($HOME_SESSION_ERROR_FLASH)}
        <div class="alert alert-danger">
            {$HOME_SESSION_ERROR_FLASH}
        </div>
	{/if}
	<div class="row">

	  {if isset($NEWS)}
	  <div class="col-md-8">
	    <center><h2>{$LATEST_ANNOUNCEMENTS} <i class="fa fa-bullhorn"></i></h2></center>
		<hr />
		{foreach from=$NEWS item=item}
		<div class="card">
		  <div class="card-header">
			<a href="{$item.url}">{$item.title}</a>
			<span class="pull-right" data-toggle="tooltip" title="{$item.date}">{$item.time_ago}</span>
		  </div>
		  <div class="card-body">
			<div class="forum_post">
			  {$item.content}
			</div>
			<hr />
			<a href="{$item.author_url}"><img class="rounded-circle" style="height:30px;width=30px;" src="{$item.author_avatar}" /></a> <a href="{$item.author_url}" style="{$item.author_style}">{$item.author_name}</a>
		    <span class="pull-right"><a href="{$item.url}" class="btn btn-primary btn-sm">{$READ_FULL_POST} &raquo;</a></span>
		  </div>
		</div>
		<br />
		{/foreach}
	  </div>
	  <div class="col-md-4">

	  {else}
	  <div class="col-md-4 offset-md-4">
	  {/if}

	    <center><h2>{$SOCIAL} <i class="fa fa-users" aria-hidden="true"></i></h2></center>
	    <hr />
		{if count($WIDGETS)}
		  {foreach from=$WIDGETS item=widget}
			{$widget}
			<br /><br />
		  {/foreach}
		{/if}

	  </div>
	</div>
  </div>
  </div>
</div>
</div>

{include file='footer.tpl'}

{'fraction_non_alphanumeric': 0.23341303048416018, 'fraction_numerical': 0.006724447101016139, 'mean_word_length': 3.371652514696277, 'pattern_counts': {'":': 0, '<': 234, '<?xml version=': 0, '>': 234, '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': '1989051', 'n_tokens_mistral': 2955, 'n_tokens_neox': 2686, 'n_words': 443}