doc/lib: Use <h1> for search headings

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 15:53:41 +01:00
parent fdec27d8a1
commit 8e7faa8170
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<div class="content">
<?php foreach (/** @type \Icinga\Module\Doc\Search\DocSearchRenderer[] $searches */ $searches as $title => $search): ?>
<?php foreach (/** @type \Icinga\Module\Doc\Renderer\DocSearchRenderer[] $searches */ $searches as $title => $search): ?>
<?php if (! $search->isEmpty()): ?>
<h2><?= $this->escape($title) ?></h2>
<h1><?= $this->escape($title) ?></h1>
<?= $search ?>
<?php endif ?>
<?php endforeach ?>