Use html method
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<a class="logo" href="<?= $site->url() ?>">
|
<a class="logo" href="<?= $site->url() ?>">
|
||||||
<?= $site->title() ?>
|
<?= $site->title()->html() ?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav class="menu">
|
<nav class="menu">
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
<?php snippet('header') ?>
|
<?php snippet('header') ?>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<h1 class="h1"><?= $page->title() ?></h1>
|
<h1 class="h1"><?= $page->title()->html() ?></h1>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<?= $page->text()->kt() ?>
|
<?= $page->text()->kt() ?>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -48,7 +48,7 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<figcaption>
|
<figcaption>
|
||||||
<span>
|
<span>
|
||||||
<span class="example-name"><?= $album->title() ?></span>
|
<span class="example-name"><?= $album->title()->html() ?></span>
|
||||||
</span>
|
</span>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
@@ -31,9 +31,9 @@
|
|||||||
|
|
||||||
<article class="note">
|
<article class="note">
|
||||||
<header class="note-header h1">
|
<header class="note-header h1">
|
||||||
<h1 class="note-title"><?= $page->title() ?></h1>
|
<h1 class="note-title"><?= $page->title()->html() ?></h1>
|
||||||
<?php if ($page->subheading()->isNotEmpty()): ?>
|
<?php if ($page->subheading()->isNotEmpty()): ?>
|
||||||
<p class="note-subheading"><small><?= $page->subheading() ?></small></p>
|
<p class="note-subheading"><small><?= $page->subheading()->html() ?></small></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</header>
|
</header>
|
||||||
<div class="note text">
|
<div class="note text">
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
<ul class="note-tags">
|
<ul class="note-tags">
|
||||||
<?php foreach ($tags as $tag): ?>
|
<?php foreach ($tags as $tag): ?>
|
||||||
<li>
|
<li>
|
||||||
<a href="<?= $page->parent()->url(['params' => ['tag' => $tag]]) ?>"><?= $tag ?></a>
|
<a href="<?= $page->parent()->url(['params' => ['tag' => $tag]]) ?>"><?= html($tag) ?></a>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
Reference in New Issue
Block a user