diff --git a/lib/jekyll-pandoc-multiple-formats/generator.rb b/lib/jekyll-pandoc-multiple-formats/generator.rb
index 3c74dbcd261bbd29eaa5aab76d235a9ea0e096e9..24ba40cb27798f4cebaddf6893503aa6f73c3515 100644
--- a/lib/jekyll-pandoc-multiple-formats/generator.rb
+++ b/lib/jekyll-pandoc-multiple-formats/generator.rb
@@ -50,7 +50,7 @@ class PandocGenerator < Generator
         @pandoc_files << pandoc_file
       end
 
-      if @config.full_file
+      if @config['full_file']
         # For parts to make sense, we order articles by date and then by
         # category, so each category is ordered by date.
         #