diff --git a/_app/_includes/_amsf.html b/_app/_includes/_amsf.html
index 796d56a03..f5956dc60 100644
--- a/_app/_includes/_amsf.html
+++ b/_app/_includes/_amsf.html
@@ -162,6 +162,17 @@
{% endif %}
{% endcapture %}
+{% comment %}
+ Page type (used by Twitter Cards)
+{% endcomment %}
+{% capture amsf_page_type_twitter %}
+ {% if site.tc_large_image or page.tc_large_image %}
+ summary_large_image
+ {% else %}
+ summary
+ {% endif %}
+{% endcapture %}
+
{% comment %}
Page language tag
{% endcomment %}
diff --git a/_app/_includes/themes/curtana/includes/open-graph.html b/_app/_includes/themes/curtana/includes/open-graph.html
index de3262484..4042d6d3b 100644
--- a/_app/_includes/themes/curtana/includes/open-graph.html
+++ b/_app/_includes/themes/curtana/includes/open-graph.html
@@ -9,11 +9,15 @@
-
-
-
-
-
+
+
+{% if site.twitter %}
+
+{% endif %}
+
+{% if author.twitter %}
+
+{% endif %}
{% if page.path contains "_posts" %}
@@ -23,11 +27,3 @@
{% endif %}
-
-{% if site.twitter %}
-
-{% endif %}
-
-{% if author.twitter %}
-
-{% endif %}
diff --git a/_config.init.yml b/_config.init.yml
index 4cc2d4ccd..8e4570ec9 100644
--- a/_config.init.yml
+++ b/_config.init.yml
@@ -101,14 +101,14 @@ 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
-file: //d349cztnlupsuf.cloudfront.net
+file: https://d349cztnlupsuf.cloudfront.net
# Download files URL used in posts, ie. href="{{ site.download }}/package.zip",
# this should also be a CDN link just like `site.file`. There're no notable
# differences in `site.file` and `site.download`, I just use the one for post
# images and the other for large download files. That's it. Remove or ignore
# this if you don't need it.
-download: //d1bmx7s6749k4k.cloudfront.net
+download: https://d1bmx7s6749k4k.cloudfront.net
# Google Analytics tracking code
google_analytics:
@@ -119,6 +119,10 @@ google_analytics:
# Site Twitter account handle
twitter: sparanoid
+# Use summary card with large image for Twitter Cards, require theme support
+# Default: false
+tc_large_image: false
+
# Force UTF-8 encoding, enable this will simply add to
# the head of your pages
# Default: false
@@ -133,7 +137,7 @@ link_blog: false
# Default: false
rss_excerpt: false
-# Show generator credits
+# Show or hide generator credits, require theme support
# Default: true
credits: true
diff --git a/_config.yml b/_config.yml
index 4afc331e5..55af8ab06 100644
--- a/_config.yml
+++ b/_config.yml
@@ -101,14 +101,14 @@ 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
-file: //d349cztnlupsuf.cloudfront.net
+file: https://d349cztnlupsuf.cloudfront.net
# Download files URL used in posts, ie. href="{{ site.download }}/package.zip",
# this should also be a CDN link just like `site.file`. There're no notable
# differences in `site.file` and `site.download`, I just use the one for post
# images and the other for large download files. That's it. Remove or ignore
# this if you don't need it.
-download: //d1bmx7s6749k4k.cloudfront.net
+download: https://d1bmx7s6749k4k.cloudfront.net
# Google Analytics tracking code
google_analytics:
@@ -119,6 +119,10 @@ google_analytics:
# Site Twitter account handle
twitter: sparanoid
+# Use summary card with large image for Twitter Cards, require theme support
+# Default: false
+tc_large_image: false
+
# Force UTF-8 encoding, enable this will simply add to
# the head of your pages
# Default: false
@@ -133,7 +137,7 @@ link_blog: false
# Default: false
rss_excerpt: false
-# Show generator credits
+# Show or hide generator credits, require theme support
# Default: true
credits: true