Improved SEO. Customised title in pages other than home page
This commit is contained in:
parent
430c75f0c2
commit
7af364eda9
@ -5,7 +5,13 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>jOOQ is a fluent API for typesafe SQL query construction and execution</title>
|
||||
<title><?php
|
||||
if (isset($home)) {
|
||||
print "jOOQ is a fluent API for typesafe SQL query construction and execution";
|
||||
} else {
|
||||
print getH1();
|
||||
}
|
||||
?></title>
|
||||
<meta property="og:title" content="jOOQ" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="http://www.jooq.org" />
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
$home = true;
|
||||
require 'frame.php';
|
||||
function getH1() {
|
||||
return 'jOOQ : A peace treaty between SQL and Java';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user