<commit_before><?php get_template_part('templates/page', 'header'); ?>

<?php if (!have_posts()) : ?>
    <div class="alert alert-warning">
        <?php _e('Sorry, no results were found.', 'sage'); ?>
    </div>
    <?php get_search_form(); ?>
<?php endif; ?>

<div class="ui container">

    <?php $image_cycle = get_term_meta(get_queried_object()->term_id, 'program_image', false); ?>
    <h1><?= get_queried_object()->description ?></h1>
    <div class="ui grid stackable">
        <div class="one wide column"></div>
        <div class="seven wide column">
            <img src="<?= $image_cycle[0]; ?>" alt="" class="ui image" />
            <br>
            <?php if ( $pdf[0] ): ?>
                <?php $pdf = get_term_meta(get_queried_object()->term_id, 'program_pdf', false); ?>
                <a href="<?= esc_url($pdf[0]); ?>" class="ui button">
                    <?php _e('Télécharger le programme','sage'); ?>
                </a>
            <?php endif; ?>
        </div>
        <div class="seven wide column">
            <?php echo get_term_meta(get_queried_object()->term_id, 'program_text', true); ?>
        </div><commit_msg>solution download button 1<commit_after><?php get_template_part('templates/page', 'header'); ?>

<?php if (!have_posts()) : ?>
    <div class="alert alert-warning">
        <?php _e('Sorry, no results were found.', 'sage'); ?>
    </div>
    <?php get_search_form(); ?>
<?php endif; ?>

<div class="ui container">

    <?php $image_cycle = get_term_meta(get_queried_object()->term_id, 'program_image', false); ?>
    <h1><?= get_queried_object()->description ?></h1>
    <div class="ui grid stackable">
        <div class="one wide column"></div>
        <div class="seven wide column">
            <img src="<?= $image_cycle[0]; ?>" alt="" class="ui image" />
            <br>
            <?php $pdf = get_term_meta(get_queried_object()->term_id, 'program_pdf', false); ?>
            <?php if ( $pdf[0] ): ?>
                <?php $pdf = get_term_meta(get_queried_object()->term_id, 'program_pdf', false); ?>
                <a href="<?= esc_url($pdf[0]); ?>" class="ui button">
                    <?php _e('Télécharger le programme','sage'); ?>
                </a>
            <?php endif; ?>
        </div>
        <div class="seven wide column">
            <?php echo get_term_meta(get_queried_object()->term_id, 'program_text', true); ?>
        </div>
{'fraction_non_alphanumeric': 0.19767923746373808, 'fraction_numerical': 0.0045586406962287605, 'mean_word_length': 2.6686930091185412, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4079748', 'n_tokens_mistral': 767, 'n_tokens_neox': 762, 'n_words': 171}