Vugo theme
This commit is contained in:
commit
64b0159616
33 changed files with 1224 additions and 0 deletions
25
vugo/layouts/_default/list.html
Normal file
25
vugo/layouts/_default/list.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{{ define "main" }}
|
||||
{{ if .Content }}
|
||||
<article>
|
||||
{{ .Content -}}
|
||||
</article>
|
||||
{{ end }}
|
||||
<div class="posts">
|
||||
<table class="post-entry-meta">
|
||||
{{ range .Paginator.Pages }}
|
||||
<tr>
|
||||
<td><a href="{{ .RelPermalink }}">{{ .Title | markdownify}}</a></td>
|
||||
<td>{{ .Params.Date.Format "2006-01-02" }}</td>
|
||||
<td>{{ .Params.Author }}</td>
|
||||
<td > {{ range .Params.tags }} #<a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">{{ . }}</a> {{ end }}</td>
|
||||
<!--
|
||||
{{ if and (.Param "readingTime") (eq (.Param "readingTime") true) }}
|
||||
<td class="post-reading-time">- {{ .ReadingTime }} min read ({{ .WordCount }} words)</td>
|
||||
{{ end }}
|
||||
-->
|
||||
</tr>
|
||||
{{ end }}
|
||||
</table>
|
||||
</div>
|
||||
{{ partial "pagination.html" . }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue