Skip to content

Commit

Permalink
Typo fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoathaydes committed Mar 17, 2019
1 parent b5a11cc commit b9d8621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Magnanimous has the following guiding principles:

* simple templating mechanism based on a tiny [expression language](https://renatoathaydes.github.io/magnanimous/sections/docs/expression_lang.html)
(simple as `2 + 2 is {{ eval 2 + 2 }}`).
* include file into another (`{{ include other-file.html }}`).
* include a file into another (`{{ include other-file.html }}`).
* define variables (`{{ define title "Hello world" }}`).
* [components](https://renatoathaydes.github.io/magnanimous/sections/docs/components.html) and slots inspired by web components.
* conditional content (`{{ if title == "Home" }}We are home{{ end }}`).
Expand Down
6 changes: 3 additions & 3 deletions website/source/processed/sections/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Features:

* simple templating mechanism based on a tiny [expression language]({{eval INSTRUCTIONS_PATH}})
(simple as `2 + 2 is \{{ eval 2 + 2 }}`).
* include file into another (`\{{ include other-file.html }}`).
* include a file into another (`\{{ include other-file.html }}`).
* define variables (`\{{ define title "Hello world" }}`).
* [components]({{eval baseURL + "/sections/docs/components.html"}}) and slots inspired by web components.
* [conditional content]({{eval INSTRUCTIONS_PATH + "#if"}}) (`\{{ if title == "Home" }}We are home\{{ end }}`).
Expand Down Expand Up @@ -111,8 +111,8 @@ Your website is ready on the `target` directory!
You might have noticed how some funny contents like `\{{ eval title }}`, in the `title` tag, and
`\{{ define title "My Website" }}`, in the markdown file...

These are [Magnanimous instructions]({{ eval INSTRUCTIONS_PATH }}), which let Magnanimous know when you want **process** files,
which mean doing things like include a file into another, or declare values to be used somewhere else... the text inside the
These are [Magnanimous instructions]({{ eval INSTRUCTIONS_PATH }}), which let Magnanimous know when you want it to **process** files,
which means doing things like including a file into another, or declaring values to be used elsewhere... the text inside the
`\{{` and `}}` braces are evaluated using the Magnanimous expression language. But don't worry!
You can learn that in about 15 minutes!

Expand Down

0 comments on commit b9d8621

Please sign in to comment.