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 2272a1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ paginate = 10
defaultTheme = "dark"
EnableThemeToggle = true
EnableSharingButtons = true
EnableGlobalLanguageMenu = true
EnableGlobalLanguageMenu = false
backgroundImage = "static/menu/hacker.png"
backgroundEffects = true
showPosts = true
Expand Down
4 changes: 2 additions & 2 deletions themes/hello-4s3ti/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ <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>

<ul class="posts-list">
{{ range .Pages }}
{{ range .Pages.Reverse }}
<li class="post-item">
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
Expand Down

0 comments on commit 2272a1a

Please sign in to comment.