Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Build Warning: Layout requested does not exist"

The layout of the files are saved in _layout and one I'm trying to access is called default.html.

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

2016-6-1-Assessing-The-Viability-of-Consumer-Virtual-Reality-Headsets-Head-Mounted-Displays-for-the-Treatment-of-Amblyopia.md

---
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? Everything seems to be spelt correctly, and should all be linking up.

like image 924
Ollie Avatar asked Dec 18 '22 14:12

Ollie


1 Answers

Simple typo — change your _layout directory to _layouts.

Look at the Jekyll layout guide for reference.

like image 59
Nick Zuber Avatar answered Jan 09 '23 03:01

Nick Zuber