Sha256: c2a165307fdb1c5b2eb2dae84f32153378dd1068a514541691eb86f28eaed0f3
Contents?: true
Size: 834 Bytes
Versions: 1
Compression:
Stored size: 834 Bytes
Contents
require 'liquid' require 'octopress-code-highlighter' require 'open-uri' require 'json' require 'octopress-gist/version' module Octopress module Gist autoload :Cache, 'octopress-gist/cache' autoload :Tag, 'octopress-gist/gist' autoload :NoCacheTag, 'octopress-gist/gist-no-cache' end end Liquid::Template.register_tag('gist', Octopress::Gist::Tag) Liquid::Template.register_tag('gistnocache', Octopress::Gist::NoCacheTag) if defined? Octopress::Docs Octopress::Docs.add({ name: "Octopress Gist", gem: "octopress-gist", description: "Embed GitHub Gists in your Jekyll or Octopress blog.", path: File.expand_path(File.join(File.dirname(__FILE__), "../")), source_url: "https://github.com/octopress/gist", version: Octopress::Gist::VERSION }) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octopress-gist-1.3.5 | lib/octopress-gist.rb |