Skip to content

Commit

Permalink
adds and saves url for use in linking to blog post on medium
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshamann committed Jul 30, 2018
1 parent 39fd833 commit d918c73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jekyll-display-medium-posts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-display-medium-posts"
spec.version = "0.4.0"
spec.version = "0.4.1"
spec.authors = ["James Hamann"]
spec.email = ["jameshamann0@gmail.com"]

Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-display-medium-posts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def generate(site)
doc = Jekyll::Document.new(path, { :site => site, :collection => jekyll_coll })
doc.data['title'] = title;
doc.data['feed_content'] = content;
doc.data['url'] = guid;
doc.data['medium_link'] = e.url;
jekyll_coll.docs << doc
end
end
Expand Down

0 comments on commit d918c73

Please sign in to comment.