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

Commit 3652a113 authored by Scott Main's avatar Scott Main
Browse files

docs: add support for meta descriptions in the <head>

Change-Id: I7ff7a5083a75dde718b4701623e029c225289617
parent dc7418b2
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -2,19 +2,19 @@
<?cs include:"macros.cs" ?>
<?cs include:"macros.cs" ?>
<html>
<html>
<?cs include:"head_tag.cs" ?>
<?cs include:"head_tag.cs" ?>
<body class="gc-documentation">
<body class="gc-documentation" itemscope itemtype="http://schema.org/Article">
<?cs include:"header.cs" ?>
<?cs include:"header.cs" ?>


<div class="g-unit" id="doc-content"><a name="top"></a>
<div class="g-unit" id="doc-content"><a name="top"></a>


<div id="jd-header" class="guide-header">
<div id="jd-header" class="guide-header">
  <span class="crumb">
  <span class="crumb" itemprop="breadcrumb">
    <?cs if:parent.link ?>
    <?cs if:parent.link ?>
      <a href="<?cs var:parent.link ?>"><?cs var:parent.title ?></a>:
      <a href="<?cs var:parent.link ?>"><?cs var:parent.title ?></a>:
    <?cs else ?>&nbsp;
    <?cs else ?>&nbsp;
    <?cs /if ?>
    <?cs /if ?>
  </span>
  </span>
<h1><?cs var:page.title ?></h1>
<h1 itemprop="name"><?cs var:page.title ?></h1>
</div>
</div>


  <?cs # THIS IS THE MAIN DOC CONTENT ?>
  <?cs # THIS IS THE MAIN DOC CONTENT ?>
@@ -61,7 +61,7 @@
    <?cs /if ?><?cs # end if trainingnavtop ?>
    <?cs /if ?><?cs # end if trainingnavtop ?>




    <div class="jd-descr">
    <div class="jd-descr" itemprop="articleBody">
    <?cs call:tag_list(root.descr) ?>
    <?cs call:tag_list(root.descr) ?>
    </div>
    </div>


+3 −0
Original line number Original line Diff line number Diff line
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?cs if:page.metaDescription ?>
<meta name="Description" content="<?cs var:page.metaDescription ?>">
<?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 
+4 −3
Original line number Original line Diff line number Diff line
@@ -12,7 +12,7 @@
<?cs else ?>
<?cs else ?>
  <?cs include:"head_tag.cs" ?>
  <?cs include:"head_tag.cs" ?>
<?cs /if ?>
<?cs /if ?>
<body class="gc-documentation">
<body class="gc-documentation" itemscope itemtype="http://schema.org/CreativeWork">
<a name="top"></a>
<a name="top"></a>
<?cs call:custom_masthead() ?>
<?cs call:custom_masthead() ?>


@@ -42,10 +42,11 @@
<div class="g-unit" id="doc-content" >
<div class="g-unit" id="doc-content" >
  <div id="jd-header" class="guide-header" >
  <div id="jd-header" class="guide-header" >
    <span class="crumb">&nbsp;</span>
    <span class="crumb">&nbsp;</span>
    <h1><?cs if:android.whichdoc == "online" ?>Download the <?cs /if ?><?cs var:page.title ?></h1>
    <h1 itemprop="name"><?cs if:android.whichdoc == "online" ?>Download the <?cs /if ?><?cs
var:page.title ?></h1>
  </div>
  </div>


  <div id="jd-content">
  <div id="jd-content" itemprop="description">


<?cs if:sdk.not_latest_version ?>
<?cs if:sdk.not_latest_version ?>
  <div class="special">
  <div class="special">