diff --git a/site/snippets/modal-share.php b/site/snippets/modal-share.php index 9890960..b96cbfa 100644 --- a/site/snippets/modal-share.php +++ b/site/snippets/modal-share.php @@ -1,50 +1,52 @@ +url(); +$shareTitle = $page->title()->value(); +if ($page->subtitle()->isNotEmpty()) { + $shareTitle .= ' — ' . $page->subtitle()->value(); +} +$shareText = $shareTitle . ' — ' . $shareUrl; +?>
= $page->title()->esc() ?> - subtitle()->isNotEmpty()): ?> - = $page->subtitle()->esc() ?> - -
- - += htmlspecialchars($shareTitle) ?>
-