mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 16:39:19 +02:00
Add last modification time to list template
This commit is contained in:
parent
4dac97bd87
commit
3e7ccabe6d
|
@ -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 New Issue