<commit_before><div class="amp-wp-article-header ampforwp-meta-info">

	<?php $post_author = $this->get( 'post_author' ); ?>
	<?php
	if ( $post_author ) : ?>
		<?php
		$string = get_avatar($post_author->user_email);
		$token = strtok($string, " ");
		$token = strtok(" ");
		$token = strtok(" ");
	?>
		<div class="amp-wp-meta amp-wp-byline">
			<?php if ( function_exists( 'get_avatar_url' ) ) : ?>
				<amp-img <?php echo $token; ?> width="24" height="24" layout="fixed"></amp-img>
			<?php endif; ?>
			<span class="amp-wp-author author vcard"><?php echo esc_html( $post_author->display_name ); ?></span>
		</div>
	<?php endif; ?>

	<div class="amp-wp-meta amp-wp-posted-on">
		<time datetime="<?php echo esc_attr( date( 'c', $this->get( 'post_publish_timestamp' ) ) ); ?>">
			<?php
			global $redux_builder_amp;
			echo esc_html(
				sprintf(
					_x( '%s '.$redux_builder_amp['amp-translator-ago-date-text'], '%s = human-readable time difference', 'amp' ),
					human_time_diff( $this->get( 'post_publish_timestamp' ), current_time( 'timestamp' ) )
				)
			);
			?>
		</time>
	</div>

</div><commit_msg>If image available in gravatar fixed #365 #327<commit_after><div class="amp-wp-article-header ampforwp-meta-info">

	<?php $post_author = $this->get( 'post_author' ); ?>
	<?php
	if ( $post_author ) : ?>
		<div class="amp-wp-meta amp-wp-byline">
			<?php if ( function_exists( 'get_avatar_url' ) && ( $author_image ) ) {  ?>
				<amp-img src="<?php echo esc_url($author_image); ?>" width="24" height="24" layout="fixed"></amp-img>
				<?php }?>

			<span class="amp-wp-author author vcard"><?php echo esc_html( $post_author->display_name ); ?></span>
		</div>
	<?php endif; ?>

	<div class="amp-wp-meta amp-wp-posted-on">
		<time datetime="<?php echo esc_attr( date( 'c', $this->get( 'post_publish_timestamp' ) ) ); ?>">
			<?php
			global $redux_builder_amp;
			echo esc_html(
				sprintf(
					_x( '%s '.$redux_builder_amp['amp-translator-ago-date-text'], '%s = human-readable time difference', 'amp' ),
					human_time_diff( $this->get( 'post_publish_timestamp' ), current_time( 'timestamp' ) )
				)
			);
			?>
		</time>
	</div>

</div>
{'fraction_non_alphanumeric': 0.21069767441860465, 'fraction_numerical': 0.0065116279069767444, 'mean_word_length': 3.9791666666666665, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 55, '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': '5214098', 'n_tokens_mistral': 897, 'n_tokens_neox': 799, 'n_words': 155}