+6
src/meow.rs
+6
src/meow.rs
···
61
61
println!("hehe image ! {}", url);
62
62
html.push_str(&format!(r#"<meta property="og:image" content="{}">"#, url));
63
63
html.push('\n');
64
+
65
+
// make sure our image is big !!
66
+
html.push_str(
67
+
r#"<meta name="twitter:card" content="summary_large_image">"#,
68
+
);
69
+
html.push('\n');
64
70
}
65
71
EmbedMedia::Video(url) => {
66
72
html.push_str(&format!(r#"<meta property="og:video" content="{}">"#, url));