<?php
$posts = Morfy::factory()->getPages(
CONTENT_PATH . '/blog/',
'title',
'ASC',
4
);
foreach($posts as $post) {
echo '<h4><a href="'.$config['site_url'].'/blog/'.$post['slug'].'">'.$post['title'].'</a></h4>';
}
echo '<pre>';
echo '</pre>';
?>
PD9waHAKCQkJJHBvc3RzID0gTW9yZnk6OmZhY3RvcnkoKS0+Z2V0UGFnZXMoCgkJCUNPTlRFTlRfUEFUSCAuICcvYmxvZy8nLCAKCQkJJ3RpdGxlJywgCgkJCSdBU0MnLCAKCQkJYXJyYXkoJzQwNCcsJ2luZGV4JyksCgkJCTQgCgkJCSk7CgkJCWZvcmVhY2goJHBvc3RzIGFzICRwb3N0KSB7CgkJCQkJZWNobyAnPGg0PjxhIGhyZWY9IicuJGNvbmZpZ1snc2l0ZV91cmwnXS4nL2Jsb2cvJy4kcG9zdFsnc2x1ZyddLiciPicuJHBvc3RbJ3RpdGxlJ10uJzwvYT48L2g0Pic7CgkJCX0KCQkJCgkJCQoJCQllY2hvICc8cHJlPic7CgkJCWVjaG8gcHJpbnRfcigkcG9zdHMpOwoJCQllY2hvICc8L3ByZT4nOwogICAgPz4=