Skip to content

Commit

Permalink
feat: link year indicators to movies by year
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Sep 6, 2024
1 parent 062bf47 commit 9b5b743
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion views/feed.templ
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ init if my @data-year is not really equal to @data-year of previous <li/> then
put my @data-year into its @id
put it before me
then
make an <div.year/>
make an <a.year/>
put the @data-year into its textContent
put `/movies/year/${dataYear}` into its href
put it into the previous <li/>
end
end
Expand Down
14 changes: 7 additions & 7 deletions views/feed_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b5b743

Please sign in to comment.