Closed davidrea closed 6 years ago
Hello @davidrea ,
Let us know more details regarding this issue, please. Make sure you follow our issue template when describing the problem.
From issue template:
Documentation is missing something or incorrect (have typos, etc.):
- Give an expressive description what you have changed/added and why
- Make sure you're using correct markdown markup
- Make sure all code blocks starts with tripple ``` (backtick) and have a syntax tag, for more read this docs
- Post your addition/changes in issue, we will manage it
Expressive description: ✔ Markdown markup correct: ✔ Code blocks triple-backticked with syntax tag: ✔ Change posted in issue: ✔
All that needs to be changed is <template name="index">
to <template name="loading">
in flow-router/docs/templating.md in the "Create Loading Template" section. See pull request.
@davidrea thank you for sending a PR, and spotting this dummy mistake. @mksh-su this is documentation erratum, solved with #39 PR.
If the code and HTML provided in the templating guide are used verbatim, Meteor complains (in console) about duplicate templates named "index".
The "loading" template re-uses the template name "index":