From 842b96ef5780e4cdf71ef19e921a07ea26c229fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 10 Oct 2023 19:04:18 +0200 Subject: [PATCH] docs: typos II #682 --- exampleSite/content/basics/customization/_index.en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/basics/customization/_index.en.md b/exampleSite/content/basics/customization/_index.en.md index 10a43f4665..855c5576d1 100644 --- a/exampleSite/content/basics/customization/_index.en.md +++ b/exampleSite/content/basics/customization/_index.en.md @@ -156,7 +156,7 @@ Certain shortcodes make use of additional JavaScript files. The theme only loads Say you want to add a shortcode `myshortcode` that also requires the `jquery` JavaScript library. -1. Write the shortcode file `layouts/shortcode/myshortcode.html` and add the following line +1. Write the shortcode file `layouts/shortcodes/myshortcode.html` and add the following line ````go {{- .Store.Set "hasMyShortcode" true }} @@ -179,7 +179,7 @@ Say you want to add a shortcode `myshortcode` that also requires the `jquery` Ja Character casing is relevant! -- the `name` setting in your `config.toml` must match the key (that needs to be prefixed with a `has`) you used for the store in your `layouts/shortcode/myshortcode.html`. +- the `name` setting in your `config.toml` must match the key (that needs to be prefixed with a `has`) you used for the store in your `layouts/shortcodes/myshortcode.html`. - the key on `params.relearn.dependencies` in your `config.toml` must match the base file name of your loader file. See the `math`, `mermaid` and `openapi` shortcodes for examples.