Images download on click
This commit is contained in:
parent
8ad918c1f8
commit
7e1e753c6e
2
lib.js
2
lib.js
@ -342,7 +342,7 @@ export const renderPostDetail = (name, value) =>
|
|||||||
|
|
||||||
export const renderImage = href => {
|
export const renderImage = href => {
|
||||||
return `\
|
return `\
|
||||||
<a href="${href}"><img src="${href}" loading="lazy"></img></a>`
|
<a href="${href}" download><img src="${href}" loading="lazy"></img></a>`
|
||||||
}
|
}
|
||||||
|
|
||||||
export const renderDate = date =>
|
export const renderDate = date =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user