Skip to content

Commit

Permalink
fix: render full title of OCaml Cookbook recipe as title of the HTML …
Browse files Browse the repository at this point in the history
…page (ocaml#2560)
  • Loading branch information
sabine committed Jun 28, 2024
1 parent bc901a2 commit 8b3e85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ocamlorg_frontend/pages/cookbook_recipe.eml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let render (recipe: Data.Cookbook.t) (other_recipes_for_this_task: Data.Cookbook.t list) =
Learn_layout.single_column_layout
~title:"OCaml Cookbook"
~title:(Data.Cookbook.full_title_of_recipe recipe ^ " - OCaml Cookbook")
~description:"A collection of recipes to get things done in OCaml."
~canonical:Url.cookbook
~current:Cookbook @@
Expand Down

0 comments on commit 8b3e85d

Please sign in to comment.