
<center><h2><strong>Ubuntu</strong></h2>
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
<?php
/**
 * Template part for displaying posts
 */

$url = wp_get_attachment_url( get_post_thumbnail_id($post->ID), 'thumbnail' );
?>


<section id="post-<?php the_ID(); ?>" class="entry article-banner" style="background-image: linear-gradient(rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,5) 100%), url(<?php echo $url ?>)">
	<div class="aticle-banner-categories">
		<?php
			$categories = get_the_category();
			$separator = ' ';
			$output = '';
			if ( ! empty( $categories ) ) {
			    foreach( $categories as $category ) {
			        $output .= '<a href="' . esc_url( get_category_link( $category->term_id ) ) . '" class="article-categories" alt="' . esc_attr( sprintf( __( 'View all posts in %s', 'textdomain' ), $category->name ) ) . '">' . esc_html( $category->name ) . '</a>' . $separator;
			    }
			    echo trim( $output, $separator );
			}
		?>
	</div>
	<div class="article-banner-content">
		<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
		<p class="blog-author"><?php the_author_posts_link(); ?>, le
			<?php
				$dateToDisplay = time();
				echo date_i18n(get_option("date_format"), $dateToDisplay);
			?>
		</p>
	</div>
</section>

<section class="article-content">
	<div class="article-article">
		<div class="article-article-keywords">
			<?php
				$tags = wp_get_post_tags($post->ID);
					if ($tags) {
					echo '<div class="displaytags">';
					foreach($tags as $tag) {
						if ($tag->count > 5) {
							echo '' . $title . '<a href="' . get_term_link( $tag->term_id, 'post_tag' ) . '" title="' . sprintf( __( "%s" ), $tag->name ) . '" ' . '>' . $tag->name.'</a> ';
						}
					}
				echo '</div>';
				}
			?>
		</div>
		<?php the_content(); ?>
	</div>
	<div class="article-sidebar">
		<?php get_sidebar(); ?>
	</div>
</section>
