<div class="slz-block-item-01 style-1">
	<?php $module->get_post_format_post_view(); ?>
	<div class="block-content">
		<div class="block-content-wrapper">
			<ul class="block-info">
				<li>
					<?php
					$format = '<a href="%1$s" class="link date">'.esc_html__('on', 'holycross').' %2$s</a>';
					$post_info = slz_get_db_settings_option('post-info', array());
					if(in_array('date', $post_info)) echo ($module->get_date($format));
					?>
				</li>
			</ul>
			<?php echo ( $module->get_title() ); ?>
			<?php if( ( $module->attributes['main_show_meta'] == 'yes' && $module->attributes['layout'] == 'layout-1' ) || ( $module->attributes['layout'] == 'layout-2' && $module->attributes['main_show_meta_2'] == 'yes' ) ): ?>
			<ul class="block-info">
				<?php echo ( $module->get_meta_data('', array('date')) ); ?>
			</ul>
			<?php endif; ?>
			<?php
			if( ( $module->attributes['main_show_excerpt'] == 'yes' && $module->attributes['layout'] == 'layout-1' ) || ( $module->attributes['layout'] == 'layout-2' && $module->attributes['main_show_excerpt_2'] == 'yes' ) ) {

				if($excerpt_str = $module->get_excerpt() ){?>
					<div class="block-text"><?php echo wp_kses_post( nl2br( $excerpt_str ) ); ?></div>
				<?php }?>
				
			<?php
			}
			?>
			<?php 
			if( ( $module->attributes['main_show_read_more'] == 'yes' && $module->attributes['layout'] == 'layout-1' ) || ( $module->attributes['layout'] == 'layout-2' && $module->attributes['main_show_read_more_2'] == 'yes' ) ) {
			?>
				<a href="<?php echo esc_url( $module->permalink ); ?>" class="block-read-more"><?php echo esc_html__( 'Read More', 'holycross' ); ?><i class="fa fa-angle-double-right"></i></a>
			<?php
			}
			?>
		</div>
	</div>
</div>