Make resize point same as resize to ensure seamless images
This commit is contained in:
parent
ff90aa1f5f
commit
11436c5e9d
|
@ -120,7 +120,7 @@ func (r *renderer) Image(out *bytes.Buffer, link []byte, title []byte, alt []byt
|
|||
writeSource := func() {
|
||||
out.WriteString("<source srcset=\"")
|
||||
attrEscape(out, link)
|
||||
out.WriteString("\" media=\"(min-width: 1024px)\">")
|
||||
out.WriteString("\" media=\"(min-width: 800px)\">")
|
||||
}
|
||||
// link to outside of this website
|
||||
if bytes.HasPrefix(link, []byte("http")) {
|
||||
|
|
Loading…
Reference in New Issue