<commit_before><?php $this->appendJs("/atp-comic/js/comic.js")?>
<?php $this->appendCss("/css/atp-comic/comic.less")?>

<div class="comic-page-widget">
    <p class="page-name">
        <em><a href="<?=$this->url('comic/archives', array('arc' => $node->arc->url))?>" title="<?=$node->arc->fullName()?>">
                <?=$node->arc->name?>
        </a></em>, page <?=$node->pageNumber?>
    </p>

    <?php if($this->siteParam("comic-show-nav-links-top")) { ?>
		<?=$navLinks?>
	<?php } ?>

	<img class="comic-img" src="<?=$this->basePath($node->page->filePath('image_file'))?>" />

    <h1 class="page-title"><?=$node->page->title?></h1>

	<?php if($this->siteParam("comic-show-nav-links-bottom")) { ?>
		<?=$navLinks?>
	<?php } ?>

	<?php if($this->siteParam("comic-use-adsense")) { ?>
		<div class="ad-container">
			<div class="ad"><?=$this->adsense("inline-ad")?></div>
		</div>
	<?php } ?>

    <div class="comic-page-footer">
        <?php if(strlen($node->page->transcriptHtml) > 0) { ?>
            <script>var showTranscripts=<?=$this->siteParam('comic-show-transcripts') || true?>;</script>
            <div class="page-extra">
                <div class="transcript">
                    <h2>Transcript</h2>
                    <div class="body">
                        <?=$node->page->transcriptHtml?>
                    </div>
                </div>
            </div>
        <?php } ?>

        <div class="page-extra">
            <div class="commentary">
                <h2>Commentary</h2>
                <div class="body">
                    <?php if(strlen($node->page->descriptionHtml) > 0) { ?>
                        <?=$node->page->descriptionHtml?>
                    <?php } else { ?>
                        <em>&lt;No page commentary.&gt;</em>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
</div><commit_msg>Update page layout<commit_after><?php $this->appendJs("/atp-comic/js/comic.js")?>
<?php $this->appendCss("/css/atp-comic/comic.less")?>

<div class="comic-page-widget">
    <p class="page-name">
        <em><a href="<?=$this->url('comic/archives', array('arc' => $node->arc->url))?>" title="<?=$node->arc->fullName()?>">
                <?=$node->arc->name?>
        </a></em>, page <?=$node->pageNumber?>
    </p>

    <?php if($this->siteParam("comic-show-nav-links-top")) { ?>
		<?=$navLinks?>
	<?php } ?>

	<img class="comic-img" src="<?=$this->basePath($node->page->filePath('image_file'))?>" />

    <h1 class="page-title"><?=$node->page->title?></h1>

	<?php if($this->siteParam("comic-show-nav-links-bottom")) { ?>
		<?=$navLinks?>
	<?php } ?>

	<?php if($this->siteParam("comic-use-adsense")) { ?>
		<div class="ad-container">
			<div class="ad"><?=$this->adsense("inline-ad")?></div>
		</div>
	<?php } ?>

    <div class="comic-page-footer">
        <div class="page-extra">
            <div class="commentary">
                <h2>Commentary</h2>
                <div class="body">
                    <?php if(strlen($node->page->descriptionHtml) > 0) { ?>
                        <?=$node->page->descriptionHtml?>
                    <?php } else { ?>
                        <em>&lt;No page commentary.&gt;</em>
                    <?php } ?>
                </div>
            </div>
        </div>

        <?php if(strlen($node->page->transcriptHtml) > 0) { ?>
            <script>var showTranscripts=<?=$this->siteParam('comic-show-transcripts') || true?>;</script>
            <div class="page-extra">
                <div class="transcript">
                    <h2>Transcript</h2>
                    <div class="body">
                        <?=$node->page->transcriptHtml?>
                    </div>
                </div>
            </div>
        <?php } ?>
    </div>
</div>
{'fraction_non_alphanumeric': 0.23783214943435937, 'fraction_numerical': 0.004209418574059458, 'mean_word_length': 1.9866457187745483, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 189, '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': '3201377', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1219, 'n_words': 163}