New default theme #82

Merged
kazhnuz merged 36 commits from feat/new-default-theme into koblog2 2025-07-27 16:03:24 +02:00
Showing only changes of commit 25cf8ef5be - Show all commits

View file

@ -2,8 +2,12 @@
<div>
<?php $language->p('No pages found') ?>
</div>
<?php else : ?>
<h2><?php echo Theme::locationTitle(); ?></h2>
<p><?php echo Theme::locationDescription(); ?></p>
<?php endif ?>
<div class="article-list"><?php foreach ($content as $page) : ?>
<!-- Post -->
<article>
@ -11,9 +15,9 @@
<?php Theme::plugins('pageBegin'); ?>
<!-- Title -->
<h2 class="title">
<h3 class="title">
<a href="<?php echo $page->permalink(); ?>"><?php echo $page->title(); ?></a>
</h2>
</h3>
<!-- Cover image -->
<?php if ($page->coverImage()) : ?>