浏览代码

Add comment on related content

enhancements
budparr 6 年前
父节点
当前提交
c0adbe2422
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      layouts/partials/menu-contextual.html

+ 5
- 0
layouts/partials/menu-contextual.html 查看文件

@@ -5,6 +5,11 @@
</div>
{{- end -}}

{{/*
Use Hugo's native related content feature to pull in content that may have similar parameters, like tags. etc.
https://gohugo.io/content-management/related/
*/}}

{{ $related := .Site.RegularPages.Related . | first 15 }}

{{ with $related }}

正在加载...
取消
保存