aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHu Hao <huhao@outlook.com>2014-05-23 15:45:58 +0800
committerHu Hao <huhao@outlook.com>2014-05-23 15:45:58 +0800
commit24fdbbbcfaface942ef3000e48564aa62af9ecd7 (patch)
treef7e76fc2c3935c49371a921360e0b7b6447513c4
parentdca0c7500f71236e050576e2e611ac85d71b8b3c (diff)
downloadmy_new_personal_website-24fdbbbcfaface942ef3000e48564aa62af9ecd7.tar.xz
my_new_personal_website-24fdbbbcfaface942ef3000e48564aa62af9ecd7.zip
fix script_url_for url bug
-rw-r--r--plugins/gist_tag.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb
index 0a610dc3..51201156 100644
--- a/plugins/gist_tag.rb
+++ b/plugins/gist_tag.rb
@@ -44,7 +44,7 @@ module Jekyll
end
def script_url_for(gist_id, filename)
- url = "https://gist.githubusercontent.com/#{gist_id}.js"
+ url = "https://gist.github.com/#{gist_id}.js"
url = "#{url}?file=#{filename}" unless filename.nil? or filename.empty?
url
end