Ollie Ollie - 1 year ago 183
HTML Question

Jekyll - Build Warning: Layout requested does not exist

Just doing some jekyll work, and I've run into a problem.

I'd like to get some custom layouts working - the layout of the files are saved in

and one I'm trying to access atm is called


<!DOCTYPE html>
{% include head.html %}
{{ content }}


layout: default
title: sadsadasdasdas
categories: VR Dissertation University
blah blah blah

and sadly (even with the default post layout) - I get the following error

Regenerating: 1 file(s) changed at 2016-08-28 17:01:43 Build Warning: Layout 'default' requested in _posts/2016-6-1-Assessing-The-Viability-of-Consumer-Virtual-Reality-Headsets-Head-Mounted-Displays-for-the-Treatment-of-Amblyopia.markdown does not exist.

Any ideas on this? Running out of ideas. Everything seems to be spelt correctly, and should all be linking up.

Thanks in advance :)

Answer Source

Simple typo — change your _layout directory to _layouts.

Look at the Jekyll layout guide for reference.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download