mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-30 03:23:15 +00:00
Globally mark out image links
This commit is contained in:
8
assets/js/_commons/img-link.js
Normal file
8
assets/js/_commons/img-link.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/*
|
||||
* Find the image links and mark them
|
||||
*/
|
||||
|
||||
$(function() {
|
||||
const MARK = "img-link";
|
||||
$("#main a").has("img").addClass(MARK);
|
||||
});
|
||||
Reference in New Issue
Block a user