Put preview description before image
This commit is contained in:
@@ -20,10 +20,10 @@ $resolveImageUrl = static function ($path) {
|
||||
<?php if ($this->set) : ?>
|
||||
<header class="test-set-header">
|
||||
<h1><?php echo htmlspecialchars($this->set->title, ENT_QUOTES, 'UTF-8'); ?></h1>
|
||||
<?php if ($this->set->test_content) : ?><div class="test-set-content"><?php echo $this->set->test_content; ?></div><?php endif; ?>
|
||||
<?php if ($this->set->image) : ?>
|
||||
<div class="foto_pyt"><img src="<?php echo htmlspecialchars($resolveImageUrl($this->set->image), ENT_QUOTES, 'UTF-8'); ?>" alt="" loading="lazy"></div>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->set->test_content) : ?><div class="test-set-content"><?php echo $this->set->test_content; ?></div><?php endif; ?>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
<?php if (!$this->items) : ?>
|
||||
|
||||
Reference in New Issue
Block a user