Change the blog list style
This commit is contained in:
parent
b33e6bc25e
commit
882c81019f
1 changed files with 7 additions and 21 deletions
|
@ -11,27 +11,13 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>Title</th>
|
|
||||||
<th>Summary</th>
|
|
||||||
<th>Date</th>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<tr>
|
<li style="margin-left: 10px; list-style-type: square;">
|
||||||
<td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>
|
<h3 style="margin-bottom: 5px"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
|
<i><time datetime='{{ .Date.Format "2006-01-02" }}'>{{ .Date.Format "Jan 2, 2006"}}</time></i>
|
||||||
<td>
|
<p><i>{{ .Summary }}</i></p>
|
||||||
{{ .Summary }}
|
</li>
|
||||||
</td>
|
|
||||||
|
|
||||||
<td>
|
|
||||||
<time datetime='{{ .Date.Format "2006-01-02" }}'>{{ .Date.Format "Jan 2, 2006"}}</time>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</table>
|
|
||||||
|
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
{{ with $paginator.Prev }}
|
{{ with $paginator.Prev }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue