Skip to content

Commit 2ceb896

Browse files
committed
Revert back to original description, if no specific one was set
1 parent 5a4ce72 commit 2ceb896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/layout.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ function site_header(?string $title = NULL, array $config = []): void
427427

428428
$title = $title ? "PHP: {$title}" : 'PHP';
429429
$meta_image_path = $MYSITE . 'images/meta-image.png';
430-
$meta_description = $config['description'] ?? $title;
430+
$meta_description = $config['description'] ?? "PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.";
431431

432432
$defaults = [
433433
"lang" => $LANG,

0 commit comments

Comments
 (0)