Skip to content

Commit

Permalink
com
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Oct 13, 2024
1 parent a0f1cb3 commit 2f9338b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion themes/hello-4s3ti/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1>{{ .Title }}</h1>
<div class="content">{{ .Content }}</div>
{{ end }}

{{ range $paginator.Pages.ByWeight }}
{{ range $paginator.Pages.GroupByDate "2006" }}
<div class="posts-group">
<div class="post-year">{{ .Key }}</div>

Expand Down
2 changes: 2 additions & 0 deletions themes/hello-4s3ti/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ <h1>{{ .Site.Params.homeTitle }}</h1>
{{ end }}
<div class="posts">
{{ range $paginator.Pages }}
abcdefgh
<div class="post on-list">
abcdefgh
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
<div class="post-meta">
{{ if .Date }}
Expand Down

0 comments on commit 2f9338b

Please sign in to comment.