Skip to content

Commit

Permalink
Sort projects on main site
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Mar 17, 2024
1 parent e4c8867 commit f5c799f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<div class="projects__wrapper">
<div data-aos="fade-up" class="projects__title">Projekty</div>
{{ $counter := 0 }}
{{ range .Site.RegularPages }}
{{ range sort .Site.RegularPages "Params.start_date" }}
{{ if (eq .Params.main_site true)}}
{{ $url := .Params.url }}
{{ $img_folder := .File.BaseFileName }}
Expand Down

0 comments on commit f5c799f

Please sign in to comment.