You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/10 00:42:55 UTC

docs commit: Add support for description meta tag on the page. This closes #334.

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 71a05a677 -> 86abc864a


Add support for description meta tag on the page. This closes #334.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/86abc864
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/86abc864
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/86abc864

Branch: refs/heads/cordova-website
Commit: 86abc864a1378ad848734ec4fb7ba01c649275c3
Parents: 71a05a6
Author: Nikhil Khandelwal <ni...@microsoft.com>
Authored: Tue Sep 8 17:17:09 2015 -0700
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Wed Sep 9 15:42:37 2015 -0700

----------------------------------------------------------------------
 www/_includes/head.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/86abc864/www/_includes/head.html
----------------------------------------------------------------------
diff --git a/www/_includes/head.html b/www/_includes/head.html
index 7c8464d..a43e348 100644
--- a/www/_includes/head.html
+++ b/www/_includes/head.html
@@ -4,7 +4,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <meta name="format-detection" content="telephone=no">
     <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width" />
-    <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
+    <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else if page.description %}{{ page.description }} {% else %}{{ site.description }}{% endif %}">
 
     <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org