Skip to content

Commit

Permalink
Update index.md - from_file=true (#236)
Browse files Browse the repository at this point in the history
Set `from_file=true` in the Mustache.jl example.
  • Loading branch information
g-gundam authored Dec 31, 2024
1 parent ab2fa02 commit 405c127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ using Mustache
using Oxygen

# Load the Mustache template from a file and create a render function
render = mustache("./templates/greeting.txt", from_file=false)
render = mustache("./templates/greeting.txt", from_file=true)

@get "/mustache/file" function()
data = Dict("name" => "Chris")
Expand Down

0 comments on commit 405c127

Please sign in to comment.