mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-26 15:03:32 +02:00
Add last modification time to list template
This commit is contained in:
parent
4dac97bd87
commit
3e7ccabe6d
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
<th>名称</th>
|
||||
<th>序列</th>
|
||||
<th>创建日期</th>
|
||||
<th>最后修改日期</th>
|
||||
</tr>
|
||||
{{ range (where .Data.Pages "Section" "!=" "") }}
|
||||
<tr>
|
||||
|
@ -29,6 +30,7 @@
|
|||
{{ end }}
|
||||
</td>
|
||||
<td>{{ .Date.Format "2006/01/02" }}</td>
|
||||
<td>{{ .Lastmod.Format "2006/01/02" }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue