Skip to content

Commit

Permalink
update meta image path
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 committed Mar 19, 2023
1 parent cb5fe20 commit 1324008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ZMediumToMarkdown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
gem.files = Dir['lib/**/*.*']
gem.executables = ['ZMediumToMarkdown']
gem.name = 'ZMediumToMarkdown'
gem.version = '2.1.7'
gem.version = '2.1.8'

gem.license = "MIT"

Expand Down
2 changes: 1 addition & 1 deletion lib/Helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def self.createPostInfo(postInfo, isForJekyll)
result += "description: \"#{postInfo.description&.gsub("\"", "\\\"")}\"\n"
if !postInfo.previewImage.nil?
result += "image:\r\n"
result += " path: #{postInfo.previewImage}\r\n"
result += " path: /#{postInfo.previewImage}\r\n"
end
if isForJekyll
result += "render_with_liquid: false\n"
Expand Down

0 comments on commit 1324008

Please sign in to comment.