_includes/Image.11ty.tsx (19 lines of code) (raw):

export type ImageProps = { src: string; alt?: string; className?: string; }; const Thumbnail = ({ src, alt, className }: ImageProps): JSX.Element => { const loading = "lazy" as const; return ( <img loading={loading} src={src} alt={alt} class={className} data-template-src="thumbnail" data-template-alt="title" /> ); }; // TODO This is no longer used export default Thumbnail;