add more meta tags

This commit is contained in:
theBreadCompany 2024-09-12 12:58:10 +02:00
parent f823dc0118
commit 96e39a6464

View file

@ -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 {