Fix deprecation warning "posts.peach should be posts.docs.peach"
authorJoerg Jaspert <joerg@debian.org>
Fri, 19 May 2017 21:44:23 +0000 (23:44 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 19 May 2017 21:44:23 +0000 (23:44 +0200)
_plugins/alias_generator.rb

index 87a4e4a..3524724 100644 (file)
@@ -42,7 +42,7 @@ module Jekyll
     end
 
     def process_posts
-      @site.posts.peach do |post|
+      @site.posts.docs.peach do |post|
         generate_aliases(post.url, post.data['alias'])
       end
     end