sql-machine-learning / sql-machine-learning.github.io

21 stars 12 forks source link

Should we rename _layouts/index.md into _layouts/page.md #34

Closed wangkuiyi closed 5 years ago

wangkuiyi commented 5 years ago

According to the Jekyll directory structure explanation:

_layouts -- These are the templates that wrap posts. Layouts are chosen on a post-by-post basis in the front matter, which is described in the next section. The liquid tag {{ content }} is used to inject content into the web page.

In our Wiki

There are two kinds of page in this project now, Doc and Page

It seems that the two files currently in our /_layouts are index.md and page.md -- one for Doc and one for Page, and index.md is for the Page?

mxz96102 commented 5 years ago

Now we don't have the single page, index is a special page, its layout need to be standalone. So we need to keep /_layout/index.html