MaCH repo
This commit is contained in:
9
12_rails_15_min_blog_external/post_card.mustache.html
Normal file
9
12_rails_15_min_blog_external/post_card.mustache.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<article class="bg-white rounded-xl shadow-sm border border-gray-100 p-6 mb-4 hover:shadow-md transition">
|
||||
<a href="{{url:post:id}}" class="block">
|
||||
<h2 class="text-xl font-semibold text-gray-900 hover:text-blue-600 transition">
|
||||
{{title}}
|
||||
</h2>
|
||||
<p class="text-sm text-gray-400 mt-1">{{created_at}}</p>
|
||||
<p class="text-gray-600 mt-3 line-clamp-2">{{body}}</p>
|
||||
</a>
|
||||
</article>
|
||||
Reference in New Issue
Block a user