Remove unneeded processing
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
*/
|
||||
return function ($page) {
|
||||
|
||||
$tag = urldecode(param('tag') ?? '');
|
||||
/**
|
||||
* We use the collection helper to fetch the notes collection defined in `/site/collections/notes.php`
|
||||
*
|
||||
@@ -20,6 +19,7 @@ return function ($page) {
|
||||
*/
|
||||
$notes = collection('notes');
|
||||
|
||||
$tag = param('tag');
|
||||
if (empty($tag) === false) {
|
||||
$notes = $notes->filterBy('tags', $tag, ',');
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@
|
||||
<div class="grid" style="--gutter: 1.5rem">
|
||||
<section class="column text" style="--columns: 4">
|
||||
<h3>Address</h3>
|
||||
<?= $page->address()->kt() ?>
|
||||
<?= $page->address() ?>
|
||||
</section>
|
||||
<section class="column text" style="--columns: 4">
|
||||
<h3>Email</h3>
|
||||
|
Reference in New Issue
Block a user