Hugo port
This commit is contained in:
13
layouts/posts/list.html
Normal file
13
layouts/posts/list.html
Normal file
@ -0,0 +1,13 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<div class="row center-xs middle-xs">
|
||||
{{- range where site.RegularPages "Type" "posts" }}
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
|
||||
<p><strong>{{ .Title }}</strong></p>
|
||||
<p>{{ .Description }}</p>
|
||||
<p>Fecha: {{ partial "time.html" . }}</p>
|
||||
<a class="button" href="{{ .Permalink }}">Ver más</a>
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
Reference in New Issue
Block a user