Skip to content

Commit

Permalink
enable weight filtering. do not filter by date.
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Oct 13, 2024
1 parent 3bbd1de commit d2e4e9b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Episode 3 exploitation of pokemon red and blue (no_dep no_aslr and no_canary and no_pie)"
title: "Episode 2: guessing source-code (reverse engineering) of an cryptographic algorithm to break it"
date: 2024-10-12T23:00:00+02:00
weight: 3
weight: 2
draft: false
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Episode 2 reverse engineering and exploitation of pokemon red and blue"
title: "Episode 3: exploitation of pokemon red and blue"
date: 2022-08-05T21:09:23+02:00
weight: 2
weight: 3
draft: false
---

Expand Down
41 changes: 19 additions & 22 deletions themes/hello-4s3ti/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,25 @@ <h1>{{ .Title }}</h1>
<div class="content">{{ .Content }}</div>
{{ end }}

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

<ul class="posts-list">
{{ range .Pages }}
<li class="post-item">
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
<span class="post-day">
{{ if .Site.Params.dateformShort }}
{{ .Date.Format .Site.Params.dateformShort }}
{{ else }}
{{ .Date.Format "Jan 2"}}
{{ end }}
</span>
</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
<div class="posts-group">

<ul class="posts-list">
{{ range .Data.Pages }}
<li class="post-item">
<a href="{{.Permalink}}">
<span class="post-title">{{.Title}}</span>
<span class="post-day">
{{ if .Site.Params.dateformShort }}
{{ .Date.Format .Site.Params.dateformShort }}
{{ else }}
{{ .Date.Format "Jan 2"}}
{{ end }}
</span>
</a>
</li>
{{ end }}
</ul>
</div>
{{ partial "pagination-list.html" . }}
</main>
{{ end }}

0 comments on commit d2e4e9b

Please sign in to comment.