Add Open Graph and Twitter card

Add Open Graph and Twitter card. Prepare to allow changing the Title using shortcode
This commit is contained in:
danpros 2024-03-13 19:03:38 +07:00
commit 9c5b7a757a
10 changed files with 418 additions and 229 deletions

View file

@ -6,6 +6,7 @@
<title><?php echo $title;?></title>
<meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" />
<?php echo $metatags;?>
<link rel="preload" as="font" href="<?php echo theme_path();?>fonts/jost/jost-v4-latin-regular.woff2" type="font/woff2" crossorigin>
<link rel="preload" as="font" href="<?php echo theme_path();?>fonts/jost/jost-v4-latin-700.woff2" type="font/woff2" crossorigin>
<link rel="stylesheet" href="<?php echo theme_path();?>css/style.css">