Skip to content

Commit

Permalink
Add perspective to featured posts
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Nov 28, 2024
1 parent 06f2429 commit 712cca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opsmaru_web/live/home_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule OpsmaruWeb.HomeLive do
hero_section = Enum.find(page.sections, &(&1.slug == "home-hero"))
slides_section = Enum.find(page.sections, &(&1.slug == "home-slides"))
top_bento_section = Enum.find(page.sections, &(&1.slug == "home-top-bento"))
%{data: featured_posts} = Content.featured_posts()
%{data: featured_posts} = Content.featured_posts(perspective: assigns.perspective)

%{data: slides} = Content.list_slides(perspective: assigns.perspective)

Expand Down

0 comments on commit 712cca5

Please sign in to comment.