assets/data/quicklinks.html in j1-template-2023.6.0 vs assets/data/quicklinks.html in j1-template-2023.7.0

- old
+ new

@@ -44,14 +44,15 @@ {% assign lunr_search_defaults = modules.defaults.lunr.defaults %} {% assign lunr_search_settings = modules.lunr.settings %} {% assign translator_defaults = modules.defaults.translator.defaults %} {% assign translator_settings = modules.translator.settings %} +{% assign speak2me_defaults = modules.defaults.speak2me.defaults %} +{% assign speak2me_settings = modules.speak2me.settings %} {% assign toggler_defaults = modules.defaults.theme_toggler.defaults %} {% assign toggler_settings = modules.theme_toggler.settings %} - {% comment %} Modules disabled -------------------------------------------------------------------------------- {% assign nbi_defaults = modules.defaults.nbinteract.defaults %} {% assign cc_app_config_defaults = apps.defaults.cc.defaults %} {% assign cc_app_config_settings = apps.cc.settings %} @@ -69,12 +70,13 @@ -------------------------------------------------------------------------------- {% endcomment %} {% assign authentication_options = authentication_defaults | merge: authentication_settings %} {% assign lunr_search_options = lunr_search_defaults | merge: lunr_search_settings %} {% assign quicklinks_options = nav_quicklinks_defaults | merge: nav_quicklinks_settings %} {% assign consent_options = consent_defaults | merge: consent_settings %} -{% assign translator_options = translator_defaults | merge: translator_settings %} {% assign toggler_options = toggler_defaults | merge: toggler_settings %} +{% assign translator_options = translator_defaults | merge: translator_settings %} +{% assign speak2me_options = speak2me_defaults | merge: speak2me_settings %} {% comment %} Control Center disabled -------------------------------------------------------------------------------- {% assign cc_app_config_options = cc_app_config_defaults | merge: cc_app_config_settings %} -------------------------------------------------------------------------------- @@ -93,32 +95,34 @@ -------------------------------------------------------------------------------- {% endcomment %} {% assign home_icon = quicklinks_options.home_icon %} {% assign home_url = quicklinks_options.home_url %} {% assign home_label = quicklinks_options.home_label %} -{% assign back_icon = quicklinks_options.back_icon %} -{% assign back_url = quicklinks_options.back_url %} -{% assign back_label = quicklinks_options.back_label %} - {% assign disqus_icon = quicklinks_options.disqus_icon %} -{% assign github_icon = quicklinks_options.github_icon %} -{% assign patreon_icon = quicklinks_options.patreon_icon %} -{% assign facebook_icon = quicklinks_options.facebook_icon %} -{% assign twitter_icon = quicklinks_options.twitter_icon %} - {% assign disqus_url = quicklinks_options.disqus_url %} -{% assign github_url = quicklinks_options.github_url %} -{% assign patreon_url = quicklinks_options.patreon_url %} -{% assign facebook_url = quicklinks_options.facebook_url %} -{% assign twitter_url = quicklinks_options.twitter_url %} - {% assign disqus_label = quicklinks_options.disqus_label %} + +{% assign github_icon = quicklinks_options.github_icon %} +{% assign github_url = quicklinks_options.github_url %} {% assign github_label = quicklinks_options.github_label %} + +{% assign patreon_icon = quicklinks_options.patreon_icon %} +{% assign patreon_url = quicklinks_options.patreon_url %} {% assign patreon_label = quicklinks_options.patreon_label %} + +{% assign facebook_icon = quicklinks_options.facebook_icon %} +{% assign facebook_url = quicklinks_options.facebook_url %} {% assign facebook_label = quicklinks_options.facebook_label %} + +{% assign twitter_icon = quicklinks_options.twitter_icon %} +{% assign twitter_url = quicklinks_options.twitter_url %} {% assign twitter_label = quicklinks_options.twitter_label %} +{% assign buymeacoffee_icon = quicklinks_options.buymeacoffee_icon %} +{% assign buymeacoffee_url = quicklinks_options.buymeacoffee_url %} +{% assign buymeacoffee_label = quicklinks_options.buymeacoffee_label %} + {% comment %} Action buttons -------------------------------------------------------------------------------- {% endcomment %} {% assign cookies_icon = quicklinks_options.cookies_icon %} {% assign cookies_action = quicklinks_options.cookies_action %} {% assign cookies_label = quicklinks_options.cookies_label %} @@ -129,14 +133,19 @@ {% assign translate_icon = quicklinks_options.translate_icon %} {% assign translate_action = quicklinks_options.translate_action %} {% assign translate_label = quicklinks_options.translate_label %} +{% assign speak2me_icon = quicklinks_options.speak2me_icon %} +{% assign speak2me_action = quicklinks_options.speak2me_action %} +{% assign speak2me_label = quicklinks_options.speak2me_label %} + {% assign theme_toggler_icon = quicklinks_options.theme_toggler_icon %} {% assign theme_toggler_action = quicklinks_options.theme_toggler_action %} {% assign theme_toggler_label = quicklinks_options.theme_toggler_label %} + {% comment %} Unused buttons -------------------------------------------------------------------------------- {% assign r_text_icon = quicklinks_options.r_text_icon %} {% assign r_text_action = quicklinks_options.r_text_action %} {% assign r_text_label = quicklinks_options.r_text_label %} @@ -159,19 +168,20 @@ {% assign control_center_icon = cc_app_config_options.quicklinks_icon %} {% assign control_center_url = cc_app_config_options.quicklinks_url %} {% comment %} Show|Hide QuickLink icons +<!-- authentication_enabled: {{ authentication_enabled | debug }} --> -------------------------------------------------------------------------------- {% endcomment %} -{% assign show_quicksearch_icon = lunr_search_options.enabled %} -{% assign show_translator_icon = translator_options.enabled %} -{% assign show_theme_toggler_icon = toggler_options.enabled %} +{% assign show_quicksearch_icon = lunr_search_options.enabled %} +{% assign show_translator_icon = translator_options.enabled %} +{% assign show_speak2me_icon = speak2me_options.enabled %} +{% assign show_theme_toggler_icon = toggler_options.enabled %} + {% assign show_control_center_icon = cc_app_config_options.enabled %} -{% assign show_auth_manager_icon = authentication_enabled %} +{% assign show_auth_manager_icon = authentication_enabled %} -<!-- authentication_enabled: {{ authentication_enabled | debug }} --> - {% comment %} Show|Hide CookieConsent icon -------------------------------------------------------------------------------- {% endcomment %} {% if consent_options.enabled %} {% assign consent_enabled = true %} {% else %} @@ -190,13 +200,12 @@ {% assign show_cookieconsent_icon = false %} {% endif %} {% comment %} QuickLink icons (Disabled) -------------------------------------------------------------------------------- - {% assign show_control_center_icon = cc_app_config_options.enabled %} -{% assign show_notebooks_icon = nbi_defaults.enabled %} +{% assign show_notebooks_icon = nbi_defaults.enabled %} {% comment %} Show|Hide RSizer icon -------------------------------------------------------------------------------- {% endcomment %} {% if quicklinks_options.r_text_icon %} {% assign show_r_text_icon = true %} @@ -204,18 +213,16 @@ {% assign show_r_text_icon = false %} {% endif %} {% comment %} Show|Hide Google Translate icon -------------------------------------------------------------------------------- {% endcomment %} -{% assign show_google_translate_icon = true %} -{% assign show_google_translate_lang = false %} -{% assign translate_lang = 'gb' %} - +{% assign show_google_translate_icon = true %} +{% assign show_google_translate_lang = false %} +{% assign translate_lang = 'gb' %} -------------------------------------------------------------------------------- {% endcomment %} - {% comment %} Select icon family and size (color set dynamically by adapter) -------------------------------------------------------------------------------- {% endcomment %} {% if quicklinks_options.icon_family == 'FontAwesome' or quicklinks_options.icon_family == 'FontAwesome4' or quicklinks_options.icon_family == 'FontAwesome5' %} {% assign icon_family = 'fa' %} {% elsif quicklinks_options.icon_family == 'MDI' or quicklinks_options.icon_family == 'Material Design Icons' %} @@ -235,13 +242,15 @@ {% if environment == 'prod' or environment == 'production' %} {% assign production = true %} {% endif %} + {% comment %} Main ================================================================================ {% endcomment %} <!-- [INFO ][~/assets/data/quicklinks.html ] [ set meta data (robots) to exclude HTML datafiles from index ] --> +<!-- [INFO ][~/assets/data/quicklinks.html ] [ fick dich ins knie] --> <head> <meta name="robots" content="noindex, nofollow"> </head> <!-- [INFO ] [~/assets/data/quicklinks.html ] [AuthManager detected as: {{ show_auth_manager_icon }}] --> @@ -253,23 +262,24 @@ <ul id="{{quicklinks_options.xhr_data_element}}" class="navbar-nav show"> {% comment %} Link buttons ------------------------------------------------------------------------------ {% endcomment %} - {% if back_url != "none" %}<li id="quickLinksBackButton" class="nav-icon"><a id="page_back_id" href="{{back_url}}" aria-label="{{back_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{back_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-icon"><a id="home_id" href="{{home_url}}" aria-label="{{home_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{home_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if disqus_url != "none" %}<li id="quickLinksDisqusButton" class="nav-icon"><a id="disqus_id" href="{{disqus_url}}" aria-label="{{disqus_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{disqus_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if github_url != "none" %}<li id="quickLinksGithubButton" class="nav-icon"><a id="github_id" href="{{github_url}}" aria-label="{{github_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{github_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if patreon_url != "none" %}<li id="quickLinksPatreonButton" class="nav-icon"><a id="patreon_id" href="{{patreon_url}}" aria-label="{{patreon_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{patreon_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if facebook_url != "none" %}<li id="quickLinksFacebookButton" class="nav-icon"><a id="facebook_id" href="{{facebook_url}}" aria-label="{{facebook_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{facebook_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if twitter_url != "none" %}<li id="quickLinksTwitterButton" class="nav-icon"><a id="twitter_id" href="{{twitter_url}}" aria-label="{{twitter_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{twitter_icon}} {{icon_size}}"></i></a></li>{% endif %} + {% if buymeacoffee_url != "none" %}<li id="quickLinksBuyMeAcoffeebutton" class="nav-icon"><a id="buymeacoffee_id" href="{{buymeacoffee_url}}" target="blank" aria-label="{{buymeacoffee_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{buymeacoffee_icon}} {{icon_size}}"></i></a></li>{% endif %} {% comment %} Action buttons ------------------------------------------------------------------------------ {% endcomment %} {% if show_quicksearch_icon %}<li id="quickLinksSearchButton" class="nav-icon {{quicksearch_action}}"><a href="#" aria-label="{{quicksearch_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{quicksearch_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if show_auth_manager_icon %}<li id="quickLinksSignInOutButton" class="nav-icon sign-inout" style="display: none;"><a class="nav-icon" id="navLinkSignInOut" aria-label="SignOut" href="#" data-bs-toggle="modal" data-bs-target="#{{signin_modal_id}}"><i id="iconSignInOut" class="nav-icon {{icon_family}} {{icon_family}}-{{signin_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if show_cookieconsent_icon %}<li id="quickLinksCookieButton" class="nav-icon {{cookies_action}}" style="display: block;"><a href="#" aria-label="{{cookies_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{cookies_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if show_translator_icon %}<li id="quickLinksTranslateButton" class="nav-icon {{translate_action}}" style="display: block;"><a href="#" aria-label="{{translate_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{translate_icon}} {{icon_size}}"></i></a></li>{% endif %} + {% if show_speak2me_icon %}<li id="quickLinksSpeakButton" class="nav-icon {{speak2me_action}}" style="display: block;"><a href="#" aria-label="{{speak2me_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{speak2me_icon}} {{icon_size}}"></i></a></li>{% endif %} {% if show_theme_toggler_icon %}<li id="quickLinksThemeTogglerButton" class="nav-icon {{theme_toggler_action}}" style="display: block;"><a href="#" aria-label="{{theme_toggler_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{theme_toggler_icon}} {{icon_size}}"></i></a></li>{% endif %} {% comment %} Unused ------------------------------------------------------------------------------ {% if show_r_text_icon %}<li id="quickLinksRTextButton" class="nav-icon {{r_text_action}}" style="display: block;"><a class="nav-icon" href="#" aria-label="{{r_text_label}}" data-bs-toggle="modal" data-bs-target="#fluidModalRTextResizer"><i class="nav-icon {{icon_family}} {{icon_family}}-{{r_text_icon}} {{icon_size}}"></i></a></li>{% endif %}