Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下首页的文章预览把html标签当字符串一同渲染出来了, 我该找哪个文件debug? #213

Closed
alexcdever opened this issue Jun 30, 2020 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@alexcdever
Copy link

异常情况如图:
image

设备:
image

我前两天电脑坏了,换了主板, 所有东西都要重新配置, 然后将我博客clone下来后, 再用git submodule update --init --remote --rebase将meme拉下来, 然后在本地用hugo server -w跑了下, 就看到主页进去是这个样子了。

另外我试过将文章里的<!--more-->去掉的话,文章会变成这样:
image

@alexcdever alexcdever changed the title 请教一下首页文章预览把html标签当字符串一同渲染出来了, 我该找哪个文件debug? 请教一下首页的文章预览把html标签当字符串一同渲染出来了, 我该找哪个文件debug? Jun 30, 2020
@alexcdever
Copy link
Author

alexcdever commented Jun 30, 2020

我试着把~/hugo/themes/meme/layouts/partials/utils/summary.html这个文件恢复到上一个commit就恢复正常了。。:
image

@alexcdever
Copy link
Author

我现在是用将该文件的上一次commit内容连同它的相对路径放到博客的根目录下去覆盖8ebbfa81a5a517038b24e20768b8db2dda812649这个commit的变更,希望作者能想到更好更优雅的解决办法

@reuixiy reuixiy added the bug Something isn't working label Jun 30, 2020
@reuixiy reuixiy added this to the v4.6.0 milestone Jun 30, 2020
@reuixiy reuixiy closed this as completed in 47cead2 Jul 1, 2020
ulmefors pushed a commit to ulmefors/hugo-theme-meme that referenced this issue Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants