39 lines
1.8 KiB
PHP
39 lines
1.8 KiB
PHP
{[
|
||
$ogTitle = defined('TITLE') ? TITLE : 'Pisi GNU/Linux';
|
||
$ogDesc = defined('DESC') ? DESC : 'Pisi GNU/Linux - Özgürlük Şimdi Başladı...';
|
||
$ogUrl = defined('LINK') ? LINK : URL::base();
|
||
$ogImg = defined('IMG') ? IMG : URL::base('upload/pisilinux_pisi.png');
|
||
|
||
if ( ! preg_match('/^(http|https):/i', $ogImg) ) {
|
||
$ogImg = URL::base(ltrim($ogImg, '/'));
|
||
}
|
||
]}
|
||
<meta name="color-scheme" content="dark light">
|
||
<script>(function(){var t=localStorage.getItem('pisiTheme')||'dark';document.documentElement.setAttribute('data-theme',t);})();</script>
|
||
<meta property="og:type" content="website">
|
||
<meta property="og:url" content="{{ $ogUrl }}">
|
||
<meta property="og:title" content="{{ $ogTitle }}">
|
||
<meta property="og:description" content="{{ $ogDesc }}">
|
||
<meta property="og:image" content="{{ $ogImg }}">
|
||
|
||
<meta name="twitter:card" content="summary_large_image">
|
||
<meta name="twitter:url" content="{{ $ogUrl }}">
|
||
<meta name="twitter:title" content="{{ $ogTitle }}">
|
||
<meta name="twitter:description" content="{{ $ogDesc }}">
|
||
<meta name="twitter:image" content="{{ $ogImg }}">
|
||
|
||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css">
|
||
<link rel="stylesheet" href="css/main.css">
|
||
@if(CURRENT_PROJECT == 'Blog')
|
||
<link rel="stylesheet" href="css/blog.css">
|
||
@elseif(CURRENT_PROJECT == 'Forum')
|
||
<link rel="stylesheet" href="css/forum.css">
|
||
@elseif(CURRENT_PROJECT == 'Wiki')
|
||
<link rel="stylesheet" href="css/wiki.css">
|
||
@elseif(CURRENT_PROJECT == 'Bugs')
|
||
<link rel="stylesheet" href="css/bugs.css">
|
||
@endif
|
||
<link rel="stylesheet" href="fontawesome/css/all.min.css">
|