22 lines
497 B
HTML
22 lines
497 B
HTML
|
{{ define "main" }}
|
||
|
<div class="article-head">
|
||
|
<h1>{{ .Title }}</h1>
|
||
|
</div>
|
||
|
{{ if .Content }}
|
||
|
<article>
|
||
|
{{ .Content -}}
|
||
|
</article>
|
||
|
{{ end }}
|
||
|
<div class="posts">
|
||
|
<table>
|
||
|
{{ range .Paginator.Pages }}
|
||
|
<tr>
|
||
|
<td><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></td>
|
||
|
<td>{{ .Params.Author }}</td>
|
||
|
<td class="post-tags"> {{ range .Params.tags }} #<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a> {{ end }}</td>
|
||
|
</tr>
|
||
|
{{ end }}
|
||
|
</table>
|
||
|
</div>
|
||
|
{{ end }}
|