这是一个从Eddie Webb那拿来的一个主题,我并没有接受过正式的编程教育,这个项目只是为了自己做一个简历。这个笔记也主要是给我自己看不同修改内容在什么位置。
使用命令:hugo new projects/TYPE/name-of-project.md
TYPE= projects or publication
~\content\projects
~\content\publications
~\config.toml
~\content_index.md
~\data
替换
~static\img\photo.png
注意,相片长宽比1:1,且仅允许png格式
$ cd public $ git init $ git remote add origin https://github.com/G894/g894.github.io.git $ git add -A $ git commit -m "更新注释" $ git push -u origin master
~\content\projects_index.md
~\content\publications_index.md
~\themes\cover\layouts\partials\nav.html
完成该处修改之后需要修改
~\themes\cover\layouts\index.html
以保证右侧板块的顺序与内容与左侧导航条对应
~\themes\cover\layouts\partials\contact-qr
原本的二维码生成服务需要翻墙,现在修改成本地文件