diff options
author | Hu Hao <huhao@outlook.com> | 2014-05-23 12:26:35 +0800 |
---|---|---|
committer | Hu Hao <huhao@outlook.com> | 2014-05-23 12:26:35 +0800 |
commit | dca0c7500f71236e050576e2e611ac85d71b8b3c (patch) | |
tree | 0f2839d3819bdf05b383b9014c4c9ab379c93a37 | |
parent | ff1b10d0bcfdc44bbdf9c60dd0fe34c3a6ffe31a (diff) | |
download | my_new_personal_website-dca0c7500f71236e050576e2e611ac85d71b8b3c.tar.xz my_new_personal_website-dca0c7500f71236e050576e2e611ac85d71b8b3c.zip |
Update gist tag url to githubusercontent.com
Diffstat (limited to '')
-rw-r--r-- | plugins/gist_tag.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb index 61a9cc1e..0a610dc3 100644 --- a/plugins/gist_tag.rb +++ b/plugins/gist_tag.rb @@ -44,13 +44,13 @@ module Jekyll end def script_url_for(gist_id, filename) - url = "https://gist.github.com/#{gist_id}.js" + url = "https://gist.githubusercontent.com/#{gist_id}.js" url = "#{url}?file=#{filename}" unless filename.nil? or filename.empty? url end def get_gist_url_for(gist, file) - "https://gist.github.com/raw/#{gist}/#{file}" + "https://gist.githubusercontent.com/raw/#{gist}/#{file}" end def cache(gist, file, data) |