Yu-Chieh’s Blog (Y.C. Chang)

Ruby on Rails / Rubygems / FullStack / Git / Mac notes.

How to Fix Octopress Build Warning Layout Nil Requested After Installing Some Themes

How to fix Octopress “build warning Layout nil requested”

After changing some themes of octopress then rake generate might produce some errors like this: Build Warning: Layout 'nil' requested in .....atom.xml does not exist.

Fix by replacing:

layout: nil with: layout: null in files: source/atom.xml source/robots.txt source/_includes/custom/category_feed.xml

Comments