diff options
Diffstat (limited to 'docs/content/en/getting-started/code-toggle.md')
-rw-r--r-- | docs/content/en/getting-started/code-toggle.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/en/getting-started/code-toggle.md b/docs/content/en/getting-started/code-toggle.md index b304d2c5b..51c887a47 100644 --- a/docs/content/en/getting-started/code-toggle.md +++ b/docs/content/en/getting-started/code-toggle.md @@ -15,6 +15,10 @@ toc: true This is an example for the Config Toggle shortcode. Its purpose is to let users choose a Config language by clicking on its corresponding tab. Upon doing so, every Code toggler on the page will be switched to the target language. Also, target language will be saved in user's `localStorage` so when they go to a different pages, Code Toggler display their last "toggled" config language. +{{% note %}} +The `code-toggler` shortcode is not an internal Hugo shortcode. This page's purpose is to test out a custom feature that we use throughout this site. See: https://github.com/gohugoio/gohugoioTheme/blob/master/layouts/shortcodes/code-toggle.html +{{% /note %}} + ## That Config Toggler {{< code-toggle file="config">}} |