diff options
author | Thomas Lange <code@nerdmind.de> | 2017-09-14 23:51:36 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-09-14 23:51:36 +0200 |
commit | 3180d399f20d6e7bec41cf986cfbf8e1aafa3587 (patch) | |
tree | 24ddabcc6f140a6d006e940edcbf56b5814829f3 /template/standard/html/home.php | |
parent | a2556505e5f2d528a6c93958a8c7c9beaf4e002a (diff) | |
download | blog-3180d399f20d6e7bec41cf986cfbf8e1aafa3587.tar.gz blog-3180d399f20d6e7bec41cf986cfbf8e1aafa3587.tar.xz blog-3180d399f20d6e7bec41cf986cfbf8e1aafa3587.zip |
Some markup optimizations has been made to both templates (the HTML5 <article> element is more correct for the purpose of an item list, because real lists should only be used if the order of the items would change the meaning. This is not the case, because each item is a self-contained area which has nothing to do with the other items).
Diffstat (limited to 'template/standard/html/home.php')
-rw-r--r-- | template/standard/html/home.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/template/standard/html/home.php b/template/standard/html/home.php index e516204..f2aa20e 100644 --- a/template/standard/html/home.php +++ b/template/standard/html/home.php @@ -10,10 +10,10 @@ <h1><i class="fa fa-home"></i><?=$Language->text('home_heading_text', escapeHTML(Application::get('BLOGMETA.NAME')))?><span class="head-link brackets"><i class="fa fa-rss"></i><a href="<?=Application::getURL('feed/')?>" title="<?=$Language->text('feed_name_items', escapeHTML($BLOGMETA['NAME']))?>">Feed</a></span></h1> <p><?=$Language->text('home_heading_desc', Application::get('POST.LIST_SIZE'))?></p> -<ul class="item-list post"> -<?php foreach($LIST['POSTS'] as $post): ?> - <?php echo $post; ?> -<?php endforeach; ?> -</ul> +<div class="item-container post"> + <?php foreach($LIST['POSTS'] as $post): ?> + <?php echo $post; ?> + <?php endforeach; ?> +</div> <?=$PAGINATION['HTML']?> |