This is an automated email from the ASF dual-hosted git repository.

gengliang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/spark-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 0a6505e  Fix URL in twitter:image of home page (#360)
0a6505e is described below

commit 0a6505e4f7862290a2cf0326df16762887bfa1ef
Author: Gengliang Wang <gengli...@apache.org>
AuthorDate: Wed Oct 13 02:51:22 2021 +0800

    Fix URL in twitter:image of home page (#360)
    
    The URL of twitter:image misses one slash. This PR is to fix it.
---
 _layouts/home.html | 2 +-
 site/index.html    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_layouts/home.html b/_layouts/home.html
index 6bde86c..83310da 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -22,7 +22,7 @@
   <meta name="twitter:site" content="@ApacheSpark">
   <meta name="twitter:title" content="{% if page.custom_title %} 
{{page.custom_title}}{% else %} {{page.title}} | Apache Spark{% endif %}">
   <meta name="twitter:description" content="{% if page.description 
%}{{page.description}}{% else %}Apache Spark is a unified engine for 
large-scale analytics{% endif %}">
-  <meta name="twitter:image" 
content="{{site.url}}{{site.baseurl}}images/spark-twitter-card-large.jpg">
+  <meta name="twitter:image" 
content="{{site.url}}{{site.baseurl}}/images/spark-twitter-card-large.jpg">
 
 
   <link 
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"; 
rel="stylesheet"
diff --git a/site/index.html b/site/index.html
index 7021702..de9de34 100644
--- a/site/index.html
+++ b/site/index.html
@@ -18,7 +18,7 @@
   <meta name="twitter:site" content="@ApacheSpark">
   <meta name="twitter:title" content=" Apache Spark&trade; - Unified Engine 
for large-scale data analytics">
   <meta name="twitter:description" content="Apache Spark is a multi-language 
engine for executing data engineering, data science, and machine learning on 
single-node machines or clusters.">
-  <meta name="twitter:image" 
content="https://spark.apache.orgimages/spark-twitter-card-large.jpg";>
+  <meta name="twitter:image" 
content="https://spark.apache.org/images/spark-twitter-card-large.jpg";>
 
 
   <link 
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"; 
rel="stylesheet"

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to