所以我按照Jekyll网站上的指南安装和运行Jekyll(确定我不必在这里发布).并且网站运行正常,但出于某种原因,我没有看到_layouts应该存在的目录.在页面中,我可以看到它引用了一些布局,即:
的index.html
---
layout: default
---
<div class="home">
Run Code Online (Sandbox Code Playgroud)
about.md
---
layout: page
title: About
permalink: /about/
---
This is the base Jekyll theme.
Run Code Online (Sandbox Code Playgroud)
但是当你查看项目的目录结构时:
没有布局文件夹..那是什么?一切都有效.在localhost上运行时看起来非常好.