acad-homepage.github.io icon indicating copy to clipboard operation
acad-homepage.github.io copied to clipboard

Anyway to add new sub-pages?

Open HoraceTing opened this issue 1 year ago • 5 comments

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: comment1

Anyway to uniform the style of sub-pages with the front page? Thanks a lot!

HoraceTing avatar May 06 '24 04:05 HoraceTing

我有一个关于向此模板添加新子页面的问题。我想添加一个“博客”部分,我在 navigation.yml 中添加了一个“博客”部分,并在 _pages 目录中创建了一个新的 blog.md 文件。我在 .md 文件中添加了“layout: default”。但是,博客页面只显示基本字符,没有任何格式。以下是屏幕截图: 评论1

有没有办法让子页面的风格和首页统一?非常感谢!

Have you solve it? I want to make it, too. Please give me some advice.

QiYao-Wang avatar May 29 '24 04:05 QiYao-Wang

Same issues. Hoping the possible solutions. THX.

SladeLu avatar Jul 07 '24 18:07 SladeLu

Facing the home issue, looking forward to the solutions, THX!!

MengLingchao avatar Jul 22 '24 11:07 MengLingchao

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">

SladeLu avatar Jul 25 '24 04:07 SladeLu

出现此问题是因为 _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. 05b1bff0f35c025d89bf2766916322a4

④ After opening the "Guides" page on the phone, the webpage cannot automatically adapt to the screen size of the phone. cbf85f87659bd9a865ec3bf079e0ab52

My website is https://wuyuhao.link Does anyone know how to solve it?

wyhgnss avatar Dec 22 '24 05:12 wyhgnss