summaryrefslogtreecommitdiff
path: root/docs/modules/convert
diff options
context:
space:
mode:
authorGuillaume Grossetie <ggrossetie@gmail.com>2022-08-22 20:47:27 +0200
committerGitHub <noreply@github.com>2022-08-22 12:47:27 -0600
commitd72fe54346aa6963ae835f48681fa1ed917fb3fe (patch)
tree4896c6906efb3ee81aebde948580dd46767eb7c4 /docs/modules/convert
parent81e3e772f1294f85a5be7d34d06e132494c44e5b (diff)
proofread documentation (PR #4336)
Diffstat (limited to 'docs/modules/convert')
-rw-r--r--docs/modules/convert/pages/templates.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/convert/pages/templates.adoc b/docs/modules/convert/pages/templates.adoc
index 94ab128e..7e0c087f 100644
--- a/docs/modules/convert/pages/templates.adoc
+++ b/docs/modules/convert/pages/templates.adoc
@@ -341,7 +341,7 @@ Refer to the documentation for the template engine for details.
If you find yourself putting a lot of logic in the template, you may want to extract that logic into custom helper functions.
When using Haml or Slim, you can define these helper functions in the file [.path]_helper.rb_ located in the same folder as the templates.
-These helper functions can simplify reoccuring elements that appear across multiple templates.
+These helper functions can simplify reoccurring elements that appear across multiple templates.
The helper file must define the Ruby module `Haml::Helpers` or `Slim::Helpers`, depending on which template engine your templates target.
Every method defined in that module becomes a top-level function in the template.