reachableceo.com/themes/JuiceBar/layouts/_default/list.html
2024-11-01 13:09:39 -05:00

17 lines
514 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{/* 列表类型页面的通用模板.点击blog之后展示出来的页面 */}}
{{/* user为博客文章列表创建一个索引页面。
>> hugo new blog/_index.md */}}
{{ define "main" }}
<div class="container">
<div class="section">
<div class="content">
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages.ByPublishDate.Reverse }}
<a href="{{ .Permalink }}">{{ .Title }}</a>
{{ end }}
</div>
</div>
</div>
{{ end }}