Skip to content

Commit

Permalink
Move h2 inside if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Feb 17, 2016
1 parent 6f62732 commit fc651bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/com_content/views/article/tmpl/default.php
Expand Up @@ -45,11 +45,11 @@
<?php endif; ?>
<?php if ($params->get('show_title') || $params->get('show_author')) : ?>
<div class="page-header">
<h2 itemprop="name">
<?php if ($params->get('show_title')) : ?>
<?php if ($params->get('show_title')) : ?>
<h2 itemprop="name">
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</h2>
</h2>
<?php endif; ?>
<?php if ($this->item->state == 0) : ?>
<span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span>
<?php endif; ?>
Expand Down

0 comments on commit fc651bb

Please sign in to comment.