add support for custom <head> tags in each file with page.customHeadTag HDF var

Change-Id: I377910acec78c600d20cf10ca6aa706750107093
This commit is contained in:
Scott Main 2013-09-20 08:50:17 -07:00
parent e48657b2ae
commit 40de323797
1 changed files with 11 additions and 6 deletions

View File

@ -1,5 +1,6 @@
<head>
<?cs ####### If building devsite, add some meta data needed for when generating the top nav ######### ?>
<?cs
####### If building devsite, add some meta data needed for when generating the top nav ######### ?>
<?cs
if:devsite ?><?cs
if:guide||develop||training||reference||tools||sdk||google||samples
@ -11,13 +12,17 @@
/if ?>
<?cs
/if
?><?cs # END if/else devsite ?>
?><?cs
# END if/else devsite ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<?cs if:page.metaDescription ?>
<meta name="Description" content="<?cs var:page.metaDescription ?>">
<?cs /if ?>
<?cs
if:page.metaDescription ?>
<meta name="Description" content="<?cs var:page.metaDescription ?>"><?cs
/if ?><?cs
if:page.customHeadTag ?>
<?cs var:page.customHeadTag ?><?cs
/if ?>
<link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" />
<title><?cs
if:page.title ?><?cs