Set the first row as table header in list template

This commit is contained in:
Zhang Liang 2018-03-05 10:31:57 +08:00
parent 3eb61b595b
commit 47ccb02c78

View File

@ -8,11 +8,11 @@
<table class="sortable"> <table class="sortable">
<tr> <tr>
<td>ID</td> <th>ID</th>
<td>名称</td> <th>名称</th>
<td>序列</td> <th>序列</th>
<td>创建日期</td> <th>创建日期</th>
<td>最后修改日期</td> <th>最后修改日期</th>
</tr> </tr>
{{ range (where .Data.Pages "Section" "!=" "") }} {{ range (where .Data.Pages "Section" "!=" "") }}
<tr> <tr>