Initial commit
This commit is contained in:
commit
e9839679e6
31 changed files with 911 additions and 0 deletions
21
layouts/partials/list-post.html
Normal file
21
layouts/partials/list-post.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<p id="date">{{.Date.Format "2006-01-02"}}</p>
|
||||
<p>
|
||||
{{ with .Params.categories }}
|
||||
<span id="categories">
|
||||
{{ range . }}
|
||||
<a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ with .Params.tags }}
|
||||
<span id="tags">
|
||||
{{ range . }}
|
||||
<a href="{{ "tags" | absURL}}/{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ .Summary }}
|
||||
{{- if .Truncated -}}
|
||||
<p><a href="{{.Permalink}}">Read more</a></p>
|
||||
{{- end -}}
|
Loading…
Add table
Add a link
Reference in a new issue