Skip to content

Commit

Permalink
Fix collection title heading level. (vufind-org#3297)
Browse files Browse the repository at this point in the history
Switched to h1 to align with the record page.
  • Loading branch information
EreMaijala authored and demiankatz committed Jan 5, 2024
1 parent dff2fb1 commit 6c94e4a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
</div>
<?php endif; ?>
<div class="media-body">

<h2><?=$this->escapeHtml($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())?></h2>
<h1><?=$this->escapeHtml($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())?></h1>

<?php $summary = $this->driver->getSummary(); ?>
<?php if ($summary = $summary[0] ?? false): ?>
Expand Down

0 comments on commit 6c94e4a

Please sign in to comment.