2 FAQ folders in repo?
Closed this issue · 4 comments
@Poolitzer There seem to be two different folders containing FAQ answers or tutorials. What's up with this? can we unify them somehow?
Do you mean _tutorials and _faq or FAQ and _faq
The latter. But the FAQ folder also contains a tutorials folder.
The FAQ folder is for the categories/the index page, the _faq is for the actual entry for each category.
the directories starting with an underscore are internal dirs that are not served in production. They usually contain some kind of data or shared files like include and layouts (jekyll docs). This is done to separate the data and the way it is displayed (separation of concerns). This is also the case with the FAQ entries. The files taking care of the layout are stored in FAQ
, the actual content is stored in _faq
.
We have the same concept for the blog posts, the post content is stored in _posts
, the corresponding display logic and layout is store in blog
. That distinction is useful and one of the core concepts of how Jekyll is structured.