refactor: extract partials for post components and create separate page template
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
This commit is contained in:
10
partials/feature-image.hbs
Normal file
10
partials/feature-image.hbs
Normal file
@@ -0,0 +1,10 @@
|
||||
<figure class="mb-12 rounded-lg overflow-hidden shadow-xl">
|
||||
<img
|
||||
class="w-full h-auto object-cover"
|
||||
src="{{img_url feature_image size="xl"}}"
|
||||
srcset="{{img_url feature_image size="l"}} 1000w,
|
||||
{{img_url feature_image size="xl"}} 2000w"
|
||||
sizes="(max-width: 1000px) 1000px, 2000px"
|
||||
alt="{{title fallback="No Title"}}"
|
||||
>
|
||||
</figure>
|
||||
Reference in New Issue
Block a user