You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
466 B

  1. <ul id="post-list" class="archive readmore">
  2. <h3>{{ with .Site.Params.readMore }}{{ . }}{{ else }}Read more{{ end }}</h3>
  3. {{ range first 10 .Site.Pages }}
  4. {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
  5. {{ if and (ne $url "about/") (ne $.Title .Title) }}
  6. <li>
  7. <a href="{{ .Permalink }}">{{ .Title }}<aside class="dates">{{ .Date.Format "Jan 2" }}</aside></a>
  8. </li>
  9. {{ end }}
  10. {{ end }}
  11. </ul>