Skip to content

Commit

Permalink
Fix call to quarto.project.profile()
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Jun 2, 2024
1 parent 6f2dd50 commit 03d488f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _extensions/assign/assign.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Div(div)
}

-- Add additional condition related to a project profile.
if div.classes:includes("sol") and quarto.project.profile == "rubric" then
if div.classes:includes("sol") and quarto.project.profile:includes("rubric") then
table.insert(condition, {"when-profile", "rubric"})
end

Expand Down

0 comments on commit 03d488f

Please sign in to comment.