Add files via upload
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<!-- Posts -->
|
||||
{{ $data := .siteData }}
|
||||
<section class="posts">
|
||||
{{ range .posts.Pages }}
|
||||
<article>
|
||||
<header>
|
||||
{{ if not .Date.IsZero }}
|
||||
<span class="date">{{ .Date.Format (.Site.Params.DateFormat | default "January 2, 2006") }}</span>
|
||||
{{ end }}
|
||||
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
||||
</header>
|
||||
{{ if .Params.image }}
|
||||
<a href="{{ .Permalink }}" class="image fit"><img src="{{ .Params.image | relURL }}" alt="" /></a>
|
||||
{{ end }}
|
||||
{{ if .Description }}
|
||||
<p>{{ .Description }}</p>
|
||||
{{ else }}
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ end }}
|
||||
<ul class="actions">
|
||||
<li><a href="{{ .Permalink }}" class="button">{{ $data.post.linktext }}</a></li>
|
||||
</ul>
|
||||
</article>
|
||||
{{ end }}
|
||||
</section>
|
||||
Reference in New Issue
Block a user