ZX-Spectrum/header.php

15 lines
701 B
PHP
Raw Normal View History

2023-01-09 23:36:46 +00:00
<!DOCTYPE html>
<html lang="en">
2023-01-09 23:36:46 +00:00
<head>
<?php wp_head(); ?>
<link type="application/rss+xml" rel="alternate" href="<?php bloginfo('rss2_url'); ?>" title="Lewis Dale's Blog" />
<link type="application/atom+xml" rel="alternate" href="<?php bloginfo('atom_url'); ?>" title="Lewis Dale's Blog" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2023-01-23 10:51:59 +00:00
<?php $ogImage = "https://coruscating-quokka-5a905d.netlify.app/" . urlencode(get_site_url() . "/og-image?pid=" . get_the_id()) . "/opengraph"; ?>
<meta property="og:image" content="<?= $ogImage ?>" />
<meta name="twitter:image" content="<?= $ogImage ?>" />
2023-01-09 23:36:46 +00:00
</head>
<body <?= body_class() ?>>
<?php wp_body_open(); ?>