Updated php includes. Don't think this is the best way since it requires a php request for content.

Would like to look at static site generation and see if that can work with the login system.
This commit is contained in:
Gitea
2020-02-25 10:04:37 -05:00
parent 775805808e
commit d18b7b7273
4 changed files with 44 additions and 127 deletions

View File

@ -1,25 +1,35 @@
<!-- General meta tags -->
<meta charset="utf-8">
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="We are software and game developers.">
<meta name="keywords" content="Quartznet, Software, Games, Tools"/>
<meta name="description" content="A software and game studio.">
<meta name="keywords" content="quartznet, software, games, tools"/>
<meta name="author" content="quartznet"/>
<link rel="icon" href="/quartznet/assets/favicon.ico">
<link href="/quartznet/assets/css/bootstrap.min.css" rel="stylesheet">
<!-- Open Graph meta tags -->
<meta property="og:title" content="quartznet" />
<meta property="og:description" content="We are software and game developers." />
<!-- Load CSS -->
<link rel="stylesheet" href="/quartznet/assets/css/normalize.css">
<link href="/quartznet/assets/css/stylesheet.css" rel="stylesheet">
<link href="/quartznet/assets/css/themes.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="/quartznet/assets/css/dark.css" media="(prefers-color-scheme: dark)"> -->
<!-- <link rel="stylesheet" href="/quartznet/assets/css/light.css" media="(prefers-color-scheme: no-preference), (prefers-color-scheme: light)"> -->
<!-- Load fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<script>
// If `prefers-color-scheme` is not supported, fall back to light mode.
// In this case, light.css will be downloaded with `highest` priority.
if (window.matchMedia('(prefers-color-scheme: dark)').media === 'not all') {
document.documentElement.style.display = 'none';
document.head.insertAdjacentHTML(
'beforeend',
'<link rel="stylesheet" href="/quartznet/assets/css/light.css" onload="document.documentElement.style.display = \'\'">'
);
}
</script>
<!-- Load icons -->
<link rel="icon" href="/quartznet/assets/favicon.ico">
<!-- Load based on colour scheme -->
<link rel="stylesheet" href="/quartznet/assets/css/dark.css" media="(prefers-color-scheme: dark)">
<link rel="stylesheet" href="/quartznet/assets/css/light.css" media="(prefers-color-scheme: no-preference), (prefers-color-scheme: light)">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120787474-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-120787474-1');
</script>