|
16 | 16 | // If the page class is defined, add to class as suffix.
|
17 | 17 | // It will be a separate class if the user starts it with a space
|
18 | 18 | ?>
|
19 |
| -<div class="blog-featured<?php echo $this->pageclass_sfx;?>"> |
| 19 | +<section class="blog-featured<?php echo $this->pageclass_sfx;?>"> |
20 | 20 | <?php if ($this->params->get('show_page_heading') != 0) : ?>
|
21 |
| -<div class="page-header"> |
22 |
| - <h1> |
23 |
| - <?php echo $this->escape($this->params->get('page_heading')); ?> |
24 |
| - </h1> |
25 |
| -</div> |
| 21 | + |
| 22 | +<h1 class="page-header"> |
| 23 | +<?php echo $this->escape($this->params->get('page_heading')); ?> |
| 24 | +</h1> |
| 25 | + |
26 | 26 | <?php endif; ?>
|
27 | 27 |
|
28 | 28 | <?php $leadingcount = 0; ?>
|
29 | 29 | <?php if (!empty($this->lead_items)) : ?>
|
30 |
| -<div class="items-leading"> |
| 30 | +<section class="items-leading clearfix"> |
31 | 31 | <?php foreach ($this->lead_items as &$item) : ?>
|
32 |
| - <div class="leading-<?php echo $leadingcount; ?><?php echo $item->state == 0 ? ' system-unpublished' : null; ?>"> |
| 32 | + <article class="leading-<?php echo $leadingcount; ?><?php echo $item->state == 0 ? ' system-unpublished' : null; ?>"> |
33 | 33 | <?php
|
34 | 34 | $this->item = &$item;
|
35 | 35 | echo $this->loadTemplate('item');
|
36 | 36 | ?>
|
37 |
| - </div> |
38 |
| - <div class="clearfix"></div> |
39 |
| - <hr class="divider-vertical" /> |
| 37 | + </article> |
40 | 38 | <?php
|
41 | 39 | $leadingcount++;
|
42 | 40 | ?>
|
43 | 41 | <?php endforeach; ?>
|
44 |
| -</div> |
45 |
| -<div class="clearfix"></div> |
| 42 | +</section> |
46 | 43 | <?php endif; ?>
|
47 | 44 | <?php
|
48 | 45 | $introcount = (count($this->intro_items));
|
49 | 46 | $counter = 0;
|
50 | 47 | ?>
|
51 | 48 | <?php if (!empty($this->intro_items)) : ?>
|
| 49 | +<section class="items-intro"> |
52 | 50 | <?php foreach ($this->intro_items as $key => &$item) : ?>
|
53 | 51 |
|
54 | 52 | <?php
|
|
60 | 58 |
|
61 | 59 | <div class="items-row cols-<?php echo (int) $this->columns;?> <?php echo 'row-'.$row; ?> row-fluid">
|
62 | 60 | <?php endif; ?>
|
63 |
| - <div class="item column-<?php echo $rowcount;?><?php echo $item->state == 0 ? ' system-unpublished' : null; ?> span<?php echo round((12 / $this->columns));?>"> |
| 61 | + <article class="item column-<?php echo $rowcount;?><?php echo $item->state == 0 ? ' system-unpublished' : null; ?> span<?php echo round((12 / $this->columns));?>"> |
64 | 62 | <?php
|
65 | 63 | $this->item = &$item;
|
66 | 64 | echo $this->loadTemplate('item');
|
67 | 65 | ?>
|
68 |
| - </div> |
| 66 | + </article> |
69 | 67 | <?php $counter++; ?>
|
70 | 68 |
|
71 | 69 | <?php if (($rowcount == $this->columns) or ($counter == $introcount)): ?>
|
72 | 70 |
|
73 | 71 | </div>
|
74 |
| - <hr class="divider-vertical" /> |
75 | 72 | <?php endif; ?>
|
76 | 73 |
|
77 | 74 | <?php endforeach; ?>
|
| 75 | +</section> |
78 | 76 | <?php endif; ?>
|
79 | 77 |
|
80 | 78 | <?php if (!empty($this->link_items)) : ?>
|
81 | 79 | <div class="items-more">
|
82 | 80 | <?php echo $this->loadTemplate('links'); ?>
|
83 | 81 | </div>
|
84 |
| - <hr class="divider-vertical" /> |
85 | 82 | <?php endif; ?>
|
86 | 83 |
|
87 | 84 | <?php if ($this->params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2 && $this->pagination->pagesTotal > 1)) : ?>
|
88 |
| - <div class="pagination"> |
| 85 | + <nav class="pagination"> |
89 | 86 |
|
90 | 87 | <?php if ($this->params->def('show_pagination_results', 1)) : ?>
|
91 | 88 | <p class="counter pull-right">
|
92 | 89 | <?php echo $this->pagination->getPagesCounter(); ?>
|
93 | 90 | </p>
|
94 | 91 | <?php endif; ?>
|
95 | 92 | <?php echo $this->pagination->getPagesLinks(); ?>
|
96 |
| - </div> |
| 93 | + </nav> |
97 | 94 | <?php endif; ?>
|
98 | 95 |
|
99 |
| -</div> |
| 96 | +</section> |
0 commit comments