<commit_before><?php /* Copyright (c) 2011 <NAME> <<EMAIL>> */ ?>

<?php $sticky_keywords = $this->requestAction(array('controller' => 'bookmarks', 'action' => 'sticky_keywords'), array('cache' => '+5 min')); ?>

<div id="sticky_keywords">
<h2>Sticky Keywords</h2>
<?php foreach ($sticky_keywords as $keyword): ?>
	<div class="sticky_keyword">
		<h3><?php echo $keyword['Keyword']['title']; ?></h3>
		<ul>
			<?php foreach ($keyword['Bookmark'] as $bookmark): ?>
			<li><?php echo $this->Html->link($bookmark['title'], array('controller' => 'bookmarks', 'action' => 'visit', $bookmark['id']), array('class' => 'black')); ?></li>
			<?php endforeach; ?>
		</ul>
	</div>
<?php endforeach; ?>
</div><commit_msg>using the bookmarkbox for the sticky keywords as well<commit_after><?php /* Copyright (c) 2011 <NAME> <<EMAIL>> */ ?>

<?php $sticky_keywords = $this->requestAction(array('controller' => 'bookmarks', 'action' => 'sticky_keywords'), array('cache' => '+5 min')); ?>

<div id="sticky_keywords">
<h2>Sticky Keywords</h2>
<?php foreach ($sticky_keywords as $keyword): ?>
	<div class="sticky_keyword">
		<h3><?php echo $keyword['Keyword']['title']; ?></h3>
		<?php echo $this->element('bookmark_view', array('bookmarks' => $keyword['Bookmark'])); ?>
	</div>
<?php endforeach; ?>
</div>
{'fraction_non_alphanumeric': 0.24864024864024864, 'fraction_numerical': 0.013986013986013986, 'mean_word_length': 6.445086705202312, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 58, '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': '801864', 'n_tokens_mistral': 463, 'n_tokens_neox': 442, 'n_words': 100}