Skip to content

Commit

Permalink
Add meta description
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Dec 7, 2024
1 parent 59ddccc commit e75df16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Views/_layouts/default.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
/**
* @var string|null $description
* @var string|null $title
* @var Framework\MVC\View $view
*/
Expand All @@ -10,6 +11,9 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?= isset($description)
? esc($description)
: 'Website built with Aplus Framework' ?>">
<title><?= isset($title) ? esc($title) : 'Aplus Framework' ?></title>
<link rel="shortcut icon" href="/favicon.ico">
<style>
Expand Down

0 comments on commit e75df16

Please sign in to comment.