回复:头
我认为“HEAD”来自History.markdown文件。奇怪的是,“HEAD”没有出现在本地jekyll serve开发环境中。我怀疑下面的代码在History.markdown渲染时会jekyll出现。about.mdheader.html
https://github.com/rjraya/rjraya.github.io/blob/ddc6a2f5c5804961da6ac79472b7f77052bef267/_includes/header.html#L20-L27
<div class="trigger">
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{%- endif -%}
{%- endfor -%}
</div>
回复:页面标题 URLComputational reflections
在此行
中将hreffrom更改/为https://github.com/rjraya/rjraya.github.io/blob/ddc6a2f5c5804961da6ac79472b7f77052bef267/_includes/header.html#L7/blog
<a class="site-title" rel="author" href="{{ "/blog" | relative_url }}">{{ site.title | escape }}</a>
回复:关于网址
permalink : /about/从about.md页面中删除。下一步
将about.md进入主页(例如)。https://github.com/rjraya/rjraya.github.io/blob/gh-pages/about.md/
RE:about.md在主页上显示信息rjraya.github.io并在下显示_posts降价文件rjraya.github.io/blog
让我们jekyll使用基于降价文件名分配永久链接的默认行为。
重命名index.md为blog.md. 这会将_posts文件列表从移动/到/blog。
重命名about.md为index.md. 这会将about.mdfrom的内容移动/about到/。