gpt4 book ai didi

html - "Build Warning: Layout requested does not exist"

转载 作者:太空宇宙 更新时间:2023-11-04 14:12:21 26 4
gpt4 key购买 nike

文件的布局保存在 _layout 中,我尝试访问的文件名为 default.html

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

2016-6-1-评估消费者的可行性-虚拟现实-耳机-头戴式显示器-治疗弱视.md

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

可悲的是(即使使用默认的帖子布局)- 我收到以下错误

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.

对此有什么想法吗?一切似乎都拼写正确,并且应该都连接起来。

最佳答案

简单的拼写错误 — 将您的 _layout 目录更改为 _layouts

查看Jekyll layout guide供引用。

关于html - "Build Warning: Layout requested does not exist",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39193199/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com