grid.html 527 B

1234567891011
  1. <article>
  2. <div class="image" style="background-image: url({{ $.Site.BaseURL }}images/{{ with .Params.image }}{{ . }}{{ else }}default.jpg{{ end }});"></div>
  3. <time>{{ with .Site.Params.DateForm }}{{ $.Date.Format . }}{{ else }}{{ $.Date.Format "Mon, Jan 2, 2006" }}{{ end }}</time>
  4. <h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
  5. <p class="summary">
  6. {{ .Content }}<br />
  7. <em>{{ .Params.categories }}, {{ .Params.tags }}</em>
  8. </p>
  9. <a href="{{ .Permalink }}">Go to post</a>
  10. </article>