这是从 Academic Pages 模板精简出来的「最小可跑通版本」:
- 只保留 Home(主页)
- 已删除示例 publications / talks / blog 等内容
- 顶部导航只剩 Home
- 主页内容:
_pages/about.md
- 这个文件已经设置
permalink: /,会作为站点首页。
- 站点信息/侧边栏:
_config.yml
title/description/author.name/author.bio/author.email等。
- 顶部导航:
_data/navigation.yml
- 目前只保留 Home。
在你的仓库 Settings → Pages:
- Source: Deploy from a branch
- Branch:
main - Folder:
/ (root)
等待 Pages build 成功后访问:https://36N120E.github.io
安装 Ruby + Bundler 后:
bundle install
bundle exec jekyll serve -l -H localhost然后打开 http://localhost:4000