diff options
author | Freya Murphy <freya@freyacat.org> | 2024-05-24 09:05:42 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-05-24 09:05:42 -0400 |
commit | c5f39ea2cd7cf02246705ea8872d3b350526165c (patch) | |
tree | 2694f9fdc5d83b529a01f2997c1d89c271c86592 /src/web/_views/head.php | |
download | website-c5f39ea2cd7cf02246705ea8872d3b350526165c.tar.gz website-c5f39ea2cd7cf02246705ea8872d3b350526165c.tar.bz2 website-c5f39ea2cd7cf02246705ea8872d3b350526165c.zip |
initial
Diffstat (limited to 'src/web/_views/head.php')
-rw-r--r-- | src/web/_views/head.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/web/_views/head.php b/src/web/_views/head.php new file mode 100644 index 0000000..e30e05c --- /dev/null +++ b/src/web/_views/head.php @@ -0,0 +1,29 @@ +<?php /* Copyright (c) 2024 Freya Murphy */ ?> +<!DOCTYPE html> +<html lang="<?=lang('lang_short')?>"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="author" content="freya"> + <meta name="description" content="<?=$desc?>"> + <meta name="theme-color" content="<?=lang('theme_color')?>"> + <meta name="referrer" content="origin"> + <meta name="color-scheme" content="none"> + <meta property="og:description" content="<?=$desc?>"> + <meta property="og:title" content="<?=$title?>"> + <meta property="og:site_name" content="<?=lang('domain')?>"> + <meta property="og:image" content="<?=$this->main->get_url_full('public/icons/logo640.png')?>"> + <title><?=$title?></title> + <link rel="icon" type="image/png" sizes="16x16" href="/public/icons/logo16.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/public/icons/logo32.png"> + <link rel="icon" type="image/png" sizes="64x64" href="/public/icons/logo64.png"> + <link rel="icon" type="image/png" sizes="320x320" href="/public/icons/logo320.png"> + <link rel="icon" type="image/png" sizes="512x512" href="/public/icons/logo512.png"> + <link rel="icon" type="image/png" sizes="640x640" href="/public/icons/logo640.png"> + <link rel="manifest" href="/manifest.json"> + <?php if($this->main->get_ie_version() <= 7) + echo $this->main->link_css('css/legacy.css'); + ?> + <?php foreach($css as $file) + echo $this->main->embed_css($file); + ?> |