]>
git.bts.cx Git - cx.git/blob - cx/templates/public/base.php
6 <meta http
-equiv
="X-UA-Compatible" content
="IE=edge">
7 <meta name
="viewport" content
="width=device-width, initial-scale=1.0">
9 <?php
if (isset($cx_post_title)): ?
>
10 <title
><?
= cx_site_name(); ?
> - <?
= $cx_post_title; ?
></title
>
12 <title
><?
= cx_site_name(); ?
></title
>
15 <link rel
="stylesheet" href
="<?= cx_url('/design/css/style.css') ?>">
16 <link rel
="alternate" type
="application/atom+xml" title
="bts.cx" href
="<?= cx_url('/feed/') ?>" />
18 <?php
if (isset($cx_post_meta)): ?
>
20 <meta property
="og:title" content
="<?= cx_site_name(); ?> - <?= $cx_post_title; ?>">
21 <meta property
="og:type" content
="article" />
23 <?php
if (isset($cx_post_meta->hero_image
)): ?
>
24 <meta property
="og:image" content
="<?= $cx_post_meta->hero_image; ?>">
27 <meta property
="og:url" content
="<?= cx_url_site($cx_post_permalink); ?>">
28 <meta name
="twitter:card" content
="summary_large_image">
30 <?php
if (isset($cx_post_meta->hero_image_alt
)): ?
>
31 <meta name
="twitter:image:alt" content
="<?= $cx_post_meta->hero_image_alt; ?>">
34 <?php
/*<meta property="og:description" content="Offering tour packages for individuals or groups.">
35 <meta property="og:site_name" content="<?= cx_site_name(); ?>">
36 <meta name="twitter:image:alt" content="Alt text for image">*/ ?
>
43 <h1
><a href
="<?= cx_url('/'); ?>"><?
= cx_site_name(); ?
></a
></h1
>
44 <p
>Find me
<a href
="https://mastodon.gamedev.place/@btsherratt" rel
="me">@btsherratt
</a
> or on
<a href
="https://bts.itch.io/">itch
.io
</a
></p
>
50 <li><a href="<?= cx_url('/'); ?>">Home</a></li>
52 <?php foreach (cx_pages_get() as $page): ?>
53 <li><a href="<?= cx_url($page->url); ?>"><?= $page->title ?></a></li>
59 <?
= cx_template_content(); ?
>
64 <p
>©
; <?
= date('Y'); ?
> <?
= cx_site_name(); ?
> ·
; <?
= cx_site_author(); ?
></p
>