forked from Git/hugo-story
		
	add-webp-avif
This commit is contained in:
		@@ -236,7 +236,7 @@
 | 
				
			|||||||
						href = $a.attr('href');
 | 
											href = $a.attr('href');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					// Not an image? Bail.
 | 
										// Not an image? Bail.
 | 
				
			||||||
						if (!href.match(/\.(jpg|gif|png|mp4)$/))
 | 
											if (!href.match(/\.(jpg|gif|png|mp4|webp|avif)$/))
 | 
				
			||||||
							return;
 | 
												return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					// Prevent default.
 | 
										// Prevent default.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user