Anyway to add new sub-pages?
I have a question about adding new sub-pages to this template. I'd like to add a "Blog" section, I added a "Blog" section in the navigation.yml, and created a new blog.md file in _pages directory. I added "layout: default" in the .md file. However, the Blog page only appears basic characters without any formatting. Here is a screen capture:
Anyway to uniform the style of sub-pages with the front page? Thanks a lot!
我有一个关于向此模板添加新子页面的问题。我想添加一个“博客”部分,我在 navigation.yml 中添加了一个“博客”部分,并在 _pages 目录中创建了一个新的 blog.md 文件。我在 .md 文件中添加了“layout: default”。但是,博客页面只显示基本字符,没有任何格式。以下是屏幕截图:
有没有办法让子页面的风格和首页统一?非常感谢!
Have you solve it? I want to make it, too. Please give me some advice.
Same issues. Hoping the possible solutions. THX.
Facing the home issue, looking forward to the solutions, THX!!
The problem arises because the directory setup in _includes folder. Modifying the directory in .html files can solve it.
For example, in _includes/head.html
change
<link rel="stylesheet" href="assets/css/main.css">
to
<link rel="stylesheet" href="/assets/css/main.css">
出现此问题是因为 _includes 文件夹中的目录设置。修改 .html 文件中的目录可以解决这个问题。例如,在 _includes/head.html 中,更改为
<link rel="stylesheet" href="assets/css/main.css"><link rel="stylesheet" href="/assets/css/main.css">
I have added a new 'Guides' menu. After trying your steps, the format did recover, but there are still many issues. For example:
① The photos in the author's profile section cannot be displayed.
② The icon for 'ORCID' in the author's profile section cannot be displayed.
③ Clicking on 'Homepage' does not take you back to the main page, but rather to the current 'Guides' page.
④ After opening the "Guides" page on the phone, the webpage cannot automatically adapt to the screen size of the phone.
My website is https://wuyuhao.link Does anyone know how to solve it?