From 9baf0012837ffeffd0ee85fc618ddc330f768546 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 23 Jul 2024 16:58:18 +0000 Subject: [PATCH] Merge pull request #1889 from hydephp/fix-hardcoded-metadata-url-assembly Fix URL metadata for blog posts not using customized post output directories https://github.com/hydephp/develop/commit/cf71a76f70e2296dad090336f1b825c45c64b986 --- resources/views/components/article-excerpt.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/components/article-excerpt.blade.php b/resources/views/components/article-excerpt.blade.php index 666c628a..311b26e8 100644 --- a/resources/views/components/article-excerpt.blade.php +++ b/resources/views/components/article-excerpt.blade.php @@ -1,8 +1,8 @@ @php /** @var \Hyde\Pages\MarkdownPost $post */ @endphp
- @if(Hyde::hasSiteUrl()) - + @if($post->getCanonicalUrl()) + @endif