We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cc80f4 commit e0ed6f2Copy full SHA for e0ed6f2
resources/views/components/article-excerpt.blade.php
@@ -6,7 +6,9 @@
6
7
<header>
8
<a href="posts/{{ $post->matter['slug'] }}.html" class="block w-fit">
9
- <h2 class="text-2xl font-bold text-gray-700 hover:text-gray-900 dark:text-gray-200 dark:hover:text-white transition-colors duration-75">{{ $post->matter['title'] }}</h2>
+ <h2 class="text-2xl font-bold text-gray-700 hover:text-gray-900 dark:text-gray-200 dark:hover:text-white transition-colors duration-75">
10
+ {{ $post->matter['title'] ?? $post->title }}
11
+ </h2>
12
</a>
13
</header>
14
<footer>
0 commit comments