list.html 730 B

12345678910111213141516171819202122232425262728293031
  1. {{ partial "header.html" . }}
  2. <div class="container-fluid">
  3. <div class="row">
  4. <div class="col-sm-4 col-md-3 col-lg-3 sidebar">
  5. {{ partial "sidebar-content.html" . }}
  6. </div>
  7. <div class="col-sm-7 col-sm-offset-4 col-md-6 col-md-offset-3 col-lg-5 col-lg-offset-3 content">
  8. {{ range first 10 .Data.Pages }}
  9. <div class="post">
  10. <div class="post-heading">
  11. <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
  12. <span>{{ .Date.Format .Site.Params.DateFormat }}{{ if .Params.author }} by {{ .Params.author }}{{ end }}</span>
  13. </div>
  14. {{ .Content }}
  15. </div>
  16. {{ end }}
  17. </div>
  18. <div class="col-sm-1 col-md-3 col-md-4">
  19. </div>
  20. </div>
  21. </div>
  22. {{ partial "footer.html" . }}