-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
关于博文链接在首页的显示问题 #11
Comments
用 |
谢谢! https://bookdown.org/yihui/blogdown/templates.html#a-minimal-example blogdown文档中记载了 |
因为我自定义链接了:https://github.com/yihui/yihui.org/blob/master/content/en-about.md?plain=1#L3
我不太明白这个问题。子文件夹的链接是什么,这里就填什么。 若有后续问题,我建议你去论坛提问,如 https://d.cosx.org 或 Hugo 论坛 https://discourse.gohugo.io。我个人实在精力有限,无法当私人顾问。请谅解。 |
修改 {{ partial "header.html" . }}
{{ .Content }}
{{ if not .IsHome }}
<ul>
{{ range (where .Pages "Section" "!=" "") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ partial "footer.html" . }} |
hugo-ivy主题的首页中有下述一句话:
All pages not under the root directory of the website are listed below. You can also visit the list page of a single section, e.g., posts, or notes.
请问如何不显示首页的博文,而是在 /分类 或 /标签 中查阅博文呢?
The text was updated successfully, but these errors were encountered: