]>
git.bts.cx Git - cx.git/blob - cx/templates/public/base.php
f5e96705717a3affa791166a1675b54b0d9b3213
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/rss+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
><?
= cx_site_name(); ?
></h1
>
49 <li
><a href
="<?= cx_url('/'); ?>">Home
</a
></li
>
51 <?php
foreach (cx_pages_get() as $page): ?
>
52 <li
><a href
="<?= cx_url($page->url); ?>"><?
= $page->title ?
></a
></li
>
57 <?
= cx_template_content(); ?
>
62 <p
>©
; <?
= date('Y'); ?
> <?
= cx_site_name(); ?
> ·
; <?
= cx_site_author(); ?
></p
>