Xuanchao PENG 的个人网站,基于 Jekyll 和 AcademicPages,仅包含主页和 CV。
_pages/about.md:主页_pages/cv.md:CV 页面assets/Xuanchao Peng - CV.docx:简历文件_config.yml:网站名称和个人资料_data/navigation.yml:导航菜单images/1.png、images/2.png:头像和主页项目图片_layouts/、_includes/、_sass/:页面模板和主题样式
安装 Ruby 和 Bundler 后运行:
bundle install
bundle exec jekyll serve访问 http://localhost:4000。修改 _config.yml 后需要重启服务。
bundle exec jekyll build也可以使用仓库中的 Dockerfile:
docker build -t xuanchao-site .
docker run --rm -p 4000:4000 -v "$PWD:/usr/src/app" xuanchao-siteassets/js/main.min.js 是网站使用的脚本,源文件和构建配置一并保留。
修改脚本后运行 npm install 和 npm run build:js。
保留原主题的 MIT 许可证,见 LICENSE。