# File lib/jekyll/tags/post_url.rb, line 38definitialize(tag_name, post, tokens)
super@orig_post = post.strip@post = PostComparer.new(@orig_post)
end
Public Instance Methods
render(context)click to toggle source
# File lib/jekyll/tags/post_url.rb, line 44defrender(context)
site = context.registers[:site]
site.posts.eachdo|p|if@post==preturnp.urlendendputs"ERROR: post_url: \"#{@orig_post}\" could not be found"return"#"end