forked from openkylin/platform_build
am 118cb04f: am 00a218a9: am 14e066d5: am 4ec62cee: am 40de3237: add support for custom <head> tags in each file with page.customHeadTag HDF var
* commit '118cb04f92fa0e37d6c904b5b7b484f728722712': add support for custom <head> tags in each file with page.customHeadTag HDF var
This commit is contained in:
commit
653ab6d5ba
|
@ -1,5 +1,6 @@
|
||||||
<head>
|
<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
|
<?cs
|
||||||
if:devsite ?><?cs
|
if:devsite ?><?cs
|
||||||
if:guide||develop||training||reference||tools||sdk||google||samples
|
if:guide||develop||training||reference||tools||sdk||google||samples
|
||||||
|
@ -11,13 +12,17 @@
|
||||||
/if ?>
|
/if ?>
|
||||||
<?cs
|
<?cs
|
||||||
/if
|
/if
|
||||||
?><?cs # END if/else devsite ?>
|
?><?cs
|
||||||
|
# END if/else devsite ?>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<?cs if:page.metaDescription ?>
|
<?cs
|
||||||
<meta name="Description" content="<?cs var:page.metaDescription ?>">
|
if:page.metaDescription ?>
|
||||||
<?cs /if ?>
|
<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" />
|
<link rel="shortcut icon" type="image/x-icon" href="<?cs var:toroot ?>favicon.ico" />
|
||||||
<title><?cs
|
<title><?cs
|
||||||
if:page.title ?><?cs
|
if:page.title ?><?cs
|
||||||
|
|
Loading…
Reference in New Issue