diff options
| author | Adam Olech <nddr89@gmail.com> | 2021-11-04 01:30:15 +0100 |
|---|---|---|
| committer | Adam Olech <nddr89@gmail.com> | 2021-11-04 01:30:15 +0100 |
| commit | 31d15b2695000130c789c9abe29ecfdb2383a47b (patch) | |
| tree | 1dc1452ca97363ae3064b8619a1d72423433d258 /layouts/index.html | |
| parent | 8b17b337050868bd39bc40b65f605624f93c40ca (diff) | |
Strip down homepage
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/layouts/index.html b/layouts/index.html index f66109b..e13eabc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,28 +1,2 @@ {{ define "main" -}} - <div class="posts"> - {{- $pages := where .Site.RegularPages "Type" "in" .Site.Params.MainSections -}} - {{- $paginator := .Paginate $pages -}} - - {{ range $paginator.Pages }} - <article class="post"> - <h1 class="post-title"> - <a href="{{ .Permalink }}">{{ .Title }}</a> - </h1> - - <div class="post-date"> - <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> · {{ .ReadingTime }} min read - </div> - - <div> - {{ .Summary }} - </div> - - <div class="read-more-link"> - <a href="{{ .Permalink }}">Read More</a> - </div> - </article> - {{- end }} - </div> - - {{ template "_internal/pagination.html" . }} {{- end }} |
