-
Notifications
You must be signed in to change notification settings - Fork 0
/
headCore.php
45 lines (40 loc) · 1.95 KB
/
headCore.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$urlBase = "https://selliotp.com/";
$url = $urlBase . $urlEnd;
?>
<!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://ogp.me/ns/fb#">
<head>
<title><?php echo $title ?></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php echo $description ?>">
<!-- Open Graph Meta Tags -->
<meta property="og:url" content="<?php echo $url ?>">
<meta property="og:type" content="<?php echo $ogType ?>">
<meta property="og:title" content="<?php echo $title ?>">
<meta property="og:description" content="<?php echo $description ?>">
<meta property="og:image" content="<?php echo $urlBase . $ogImg ?>">
<meta property="og:image:width" content="1920">
<meta property="og:image:height" content="1080">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="selliotp.com">
<meta property="twitter:url" content="<?php echo $url ?>">
<meta name="twitter:title" content="<?php echo $title ?>">
<meta name="twitter:description" content="<?php echo $description ?>">
<meta name="twitter:image" content="<?php echo $urlBase . $ogImg ?>">
<script>
const rootDir = '<?php echo $rootDir ?>';
</script>
<link href="<?php echo $rootDir . 'reset.css'?>" rel="stylesheet">
<link href="<?php echo $rootDir . 'headerMenuMain.css'?>" rel="stylesheet">
<link href="<?php echo $rootDir . 'favicon/favicon.ico'?>"
rel="icon"
type="image/x-icon"
x-content-type-options="nosniff">
<link rel="canonical" href="<?php echo $url ?>">
<!-- <script src="https://cdn.jsdelivr.net/npm/eruda"></script>
<script>eruda.init();</script> -->