Skip to content

Commit 73c336a

Browse files
committed
Fix tag link
1 parent 6324f7a commit 73c336a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ task :post_from do
2727
html = URI.open(url).read
2828
doc = Nokogiri::HTML.parse(html)
2929
t = Time.parse(doc.xpath('//p[@class="date"]').children.first.to_s)
30-
tags = "[" + doc.xpath('//p[@class="tags"]/a').map{|a|
30+
tags = "[" + doc.xpath('//p[@class="tag-link"]/a').map{|a|
3131
a.children.first.to_s.strip
3232
}.uniq.join(', ') + "]"
3333
create_file_name = "#{t.strftime("%Y-%m-%d-")}#{title}.md"

0 commit comments

Comments
 (0)