From 91b74d3631ef9616406db9d6a5bbf42b9a193f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Fri, 28 Jun 2019 22:05:39 +0200 Subject: [PATCH] More detailed description of js imports (#9715) * More detailed description of js imports * :pencil2: Tweak --- source/_components/frontend.markdown | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/_components/frontend.markdown b/source/_components/frontend.markdown index aae2db6d12c..965fc3f11cd 100644 --- a/source/_components/frontend.markdown +++ b/source/_components/frontend.markdown @@ -128,7 +128,7 @@ When themes are enabled in the `configuration.yaml` file, a new option will show ## {% linkable_title Loading extra HTML %} -Starting with version 0.53 you can specify extra HTML files to load. +Starting with version 0.53 you can specify extra HTML files to load, and starting with version 0.95 extra JS modules. Example: @@ -137,10 +137,12 @@ Example: frontend: extra_html_url: - https://example.com/file1.html - - /file2.html + - /local/file2.html + extra_module_url: + - /local/my_module.js ``` -Those will be loaded via `` on any page (states and panels). +HTML will be loaded via `` on any page (states and panels), and modules via ``. ### {% linkable_title Manual Language Selection %}