We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think there's an error in the code sample under the heading "Combining views to create complex output". It currently reads:
// Template let master (title : string) (content : XmlNode list) = Elem.html [ Attr.lang "en" ] [ Elem.head [] [ Elem.title [] [ Text.raw "Sample App" ] ] Elem.body [] content ]
That hard-codes the page title to "Sample App", whereas if I'm right(?) it should use the title parameter. Corrected code:
title
// Template let master (title : string) (content : XmlNode list) = Elem.html [ Attr.lang "en" ] [ Elem.head [] [ Elem.title [] [ Text.raw title ] ] Elem.body [] content ]
Happy to submit a PR though realise it's a trivial change so might be overkill. Thanks.
The text was updated successfully, but these errors were encountered:
pimbrouwers
No branches or pull requests
I think there's an error in the code sample under the heading "Combining views to create complex output". It currently reads:
That hard-codes the page title to "Sample App", whereas if I'm right(?) it should use the
title
parameter. Corrected code:Happy to submit a PR though realise it's a trivial change so might be overkill. Thanks.
The text was updated successfully, but these errors were encountered: