add more meta tags
This commit is contained in:
parent
f823dc0118
commit
96e39a6464
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@ async fn create_page(source: &String, html: &String) -> Result<String, Status> {
|
||||||
meta property="og:title" content=(title_meta);
|
meta property="og:title" content=(title_meta);
|
||||||
meta property="og:image" content=(target_url);
|
meta property="og:image" content=(target_url);
|
||||||
meta property="og:url" content=(source);
|
meta property="og:url" content=(source);
|
||||||
|
meta property="og:type" content="article";
|
||||||
|
meta property="og:site_name" content="pixiv";
|
||||||
|
meta name="robots" content="max-image-preview:large";
|
||||||
meta http-equiv="Refresh" content=(format!("0; url='{}'", source));
|
meta http-equiv="Refresh" content=(format!("0; url='{}'", source));
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
|
|
Loading…
Add table
Reference in a new issue