<?php
$show_scroll_to_top_button = get_theme_mod('show_scroll_to_top_button', true);
$button_extra_class = '';
if (true == get_theme_mod('hide_button_on_mobile_device', true)) {
	$button_extra_class = ' hide-button-on-mobile';
}
?>
</div><!-- #content -->
<?php
if (!is_page_template( 'blankpage.php' )) :
	$footer_layout = get_theme_mod('footer_layout', 'two');
	get_template_part( 'template-parts/footer/subscribe', 'form' );
endif;
?>
	<footer id="colophon" class="site-footer" itemscope itemtype="http://schema.org/WPFooter">
		<?php
		// if (!is_page_template( 'blankpage.php' )) :
			get_template_part('template-parts/footer/footer-layout', 'one');
		// endif;
		?>
		<!-- Footer Copyright Section -->
		<section class="site-copyright">
			<div class="container">
				<div class="row">
					<div class="col-md-12 align-self-center">
						<div class="site-info text-center">
							<div class="site-copyright-text d-inline-block">
							<?php
							echo wp_kses_post( get_theme_mod('copyright_text', __( 'Copyright <i class="rswpthemes-icon icon-copyright-regular" aria-hidden="true"></i> 2025. All rights reserved.', 'author-personal-blog' )));
							?>
							</div>
							<?php author_personal_blog_theme_by(); ?>
						</div><!-- .site-info -->
					</div>
				</div>
			</div>
		</section>
	</footer><!-- #colophon -->
	<?php
if(true == $show_scroll_to_top_button) : ?>
<div class="scrooltotop<?php echo esc_attr($button_extra_class);?>">
	<a href="#" class="rswpthemes-icon icon-angle-up-solid"></a>
</div>
<?php endif; ?>