Closed alexcdever closed 4 years ago
异常情况如图:
设备:
我前两天电脑坏了,换了主板, 所有东西都要重新配置, 然后将我博客clone下来后, 再用git submodule update --init --remote --rebase将meme拉下来, 然后在本地用hugo server -w跑了下, 就看到主页进去是这个样子了。
git submodule update --init --remote --rebase
hugo server -w
另外我试过将文章里的<!--more-->去掉的话,文章会变成这样:
<!--more-->
我试着把~/hugo/themes/meme/layouts/partials/utils/summary.html这个文件恢复到上一个commit就恢复正常了。。:
~/hugo/themes/meme/layouts/partials/utils/summary.html
我现在是用将该文件的上一次commit内容连同它的相对路径放到博客的根目录下去覆盖8ebbfa81a5a517038b24e20768b8db2dda812649这个commit的变更,希望作者能想到更好更优雅的解决办法
8ebbfa81a5a517038b24e20768b8db2dda812649
异常情况如图:
设备:
我前两天电脑坏了,换了主板, 所有东西都要重新配置, 然后将我博客clone下来后, 再用
git submodule update --init --remote --rebase
将meme拉下来, 然后在本地用hugo server -w
跑了下, 就看到主页进去是这个样子了。另外我试过将文章里的
<!--more-->
去掉的话,文章会变成这样: