aboutsummaryrefslogtreecommitdiff
path: root/docs/_layouts
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_layouts')
-rwxr-xr-xdocs/_layouts/global.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html
index 8841f7675d..efc4c61293 100755
--- a/docs/_layouts/global.html
+++ b/docs/_layouts/global.html
@@ -7,7 +7,9 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ page.title }} - Spark {{site.SPARK_VERSION_SHORT}} Documentation</title>
- <meta name="description" content="">
+ {% if page.description %}
+ <meta name="description" content="{{page.description | replace: 'SPARK_VERSION_SHORT', site.SPARK_VERSION_SHORT}}">
+ {% endif %}
{% if page.redirect %}
<meta http-equiv="refresh" content="0; url={{page.redirect}}">