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 1325fae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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: 1 addition & 1 deletion themes/hello-4s3ti/layouts/posts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<i class="fa-solid fa-clipboard"></i>
{{ i18n "wordCount" .Page.WordCount }}
{{ if .IsTranslated }}
{{ range (where $.Translations ".Lang" "!=" ".Lang") }}
{{ range (where $.Translations ".Lang" "!=" ".Lang").Reverse }}
| <a href="{{ .Permalink }}"><span class="flag flag-icon flag-icon-{{ index $.Site.Data.langFlags (.Lang) }} flag-icon-squared"></span></a>
{{ end}}
{{ end }}
Expand Down

0 comments on commit 1325fae

Please sign in to comment.