Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40de3237 authored by Scott Main's avatar Scott Main
Browse files

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

Change-Id: I377910acec78c600d20cf10ca6aa706750107093
parent e48657b2
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
<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