also looking at this
fix: revert {{ }} → :text in 6 @include partials (SSR regression from #67)
#68
6 files
+22
-18
| @@ -9,7 +9,7 @@ | ||
| 9 | 9 | <header class="relative"> |
| 10 | 10 | <div class="mx-auto pb-8 pt-16 px-4 sm:px-6 lg:px-8 max-w-5xl"> |
| 11 | 11 | <div class="text-center"> |
| 12 | <h1 class="font-bold text-4xl text-gray-900 tracking-tight sm:text-5xl">{{ post.title }}</h1> | |
| 12 | <h1 class="font-bold text-4xl text-gray-900 tracking-tight sm:text-5xl" :text="post.title"></h1> | |
| 13 | 13 | </div> |
| 14 | 14 | |
| 15 | 15 | <!-- Author and meta info --> |
| @@ -19,16 +19,16 @@ | ||
| 19 | 19 | <img class="h-12 w-12 rounded-full" x-src="post.author.imageUrl" x-alt="post.author.name"> |
| 20 | 20 | <div class="ml-3"> |
| 21 | 21 | <p class="font-medium text-gray-900 text-sm"> |
| 22 | <a href="#" class="hover:underline">{{ post.author.name }}</a> | |
| 22 | <a href="#" class="hover:underline" :text="post.author.name"></a> | |
| 23 | 23 | </p> |
| 24 | 24 | </div> |
| 25 | 25 | </div> |
| 26 | 26 | |
| 27 | 27 | <!-- Reading time and date --> |
| 28 | 28 | <div class="flex items-center space-x-4 text-gray-500 text-sm"> |
| 29 | <span>{{ readingTime }}</span> | |
| 29 | <span :text="readingTime"></span> | |
| 30 | 30 | <span aria-hidden="true">·</span> |
| 31 | <time :datetime="post.dateTime">{{ post.date }}</time> | |
| 31 | <time :datetime="post.dateTime" :text="post.date"></time> | |
| 32 | 32 | </div> |
| 33 | 33 | </div> |
| 34 | 34 | </div> |