lib/jekyll/zettel/zettelkasten.rb in jekyll-zettel-0.6.8 vs lib/jekyll/zettel/zettelkasten.rb in jekyll-zettel-0.6.9
- old
+ new
@@ -43,10 +43,10 @@
return unless doc.data.key?('tags')
doc.data['tags'].each { |tag|
@site.data['tag2zettel'][tag] = [] unless @site.data['tag2zettel'].key?(tag)
- @site.data['tag2zettel'][tag] << doc.data['zettel']
+ @site.data['tag2zettel'][tag] << doc.data['id']
}
end
end
end
end