From 6305b750ad37e604b60c7e7167ea3f4e5e2b4571 Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Fri, 9 Dec 2016 23:37:27 +0800 Subject: [PATCH] chore(config): add notes about protocol-free assets URL --- _config.init.yml | 3 +++ _config.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/_config.init.yml b/_config.init.yml index 753bcede5..be5c020d7 100644 --- a/_config.init.yml +++ b/_config.init.yml @@ -102,6 +102,9 @@ url: https://sparanoid.com # Media assets URL used in posts, without trailing slash. ie. # ``. In the most cases this URL should be # powered by a CDN provider +# Note: you should avoid protocol-free address (ie. //cdn.mysite.tld) here +# because Twitter Cards doesn't work well with protocol-free assets when AMSF +# grabs the first image of your post as post featured image. file: https://d349cztnlupsuf.cloudfront.net # Download files URL used in posts, ie. href="{{ site.download }}/package.zip", diff --git a/_config.yml b/_config.yml index 631109f25..813d69d1f 100644 --- a/_config.yml +++ b/_config.yml @@ -102,6 +102,9 @@ url: https://sparanoid.com # Media assets URL used in posts, without trailing slash. ie. # ``. In the most cases this URL should be # powered by a CDN provider +# Note: you should avoid protocol-free (ie. //cdn.mysite.tld) address here +# because Twitter Cards doesn't work well with protocol-free assets when AMSF +# grabs the first image of your post as post featured image. file: https://d349cztnlupsuf.cloudfront.net # Download files URL used in posts, ie. href="{{ site.download }}/package.zip",