From dca0c7500f71236e050576e2e611ac85d71b8b3c Mon Sep 17 00:00:00 2001 From: Hu Hao Date: Fri, 23 May 2014 12:26:35 +0800 Subject: Update gist tag url to githubusercontent.com --- plugins/gist_tag.rb | 4 ++-- 1 file 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) -- cgit v1.2.1