added default value if TITLE is not set

This commit is contained in:
Christian Haschek
2016-08-06 15:06:01 +02:00
parent 6627cebfc2
commit 2a8e035843
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]--> <!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]-->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title><?php echo TITLE; ?></title> <title><?php echo (TITLE?TITLE:'PictShare image hosting'); ?></title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="HandheldFriendly" content="True"> <meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320"> <meta name="MobileOptimized" content="320">

View File

@@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<title><?php echo TITLE; ?></title> <title><?php echo (TITLE?TITLE:'PictShare image hosting'); ?></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="copyright" content="Copyright <?php echo date("Y"); ?> PictShare" /> <meta name="copyright" content="Copyright <?php echo date("Y"); ?> PictShare" />
<meta id="viewport" name="viewport" content="width=<?php echo $width ?>, user-scalable=yes" /> <meta id="viewport" name="viewport" content="width=<?php echo $width ?>, user-scalable=yes" />
@@ -15,7 +15,7 @@
<link rel="canonical" href="<?php echo DOMAINPATH.$hash; ?>" /> <link rel="canonical" href="<?php echo DOMAINPATH.$hash; ?>" />
<meta property="og:site_name" content="Imgur" /> <meta property="og:site_name" content="PictShare" />
<meta property="og:url" content="<?php echo DOMAINPATH.$hash; ?>" /> <meta property="og:url" content="<?php echo DOMAINPATH.$hash; ?>" />
<meta property="og:title" content="PictShare MP4" /> <meta property="og:title" content="PictShare MP4" />
<meta property="og:type" content="video.other" /> <meta property="og:type" content="video.other" />