Static mdbook::theme::INDEX [] [src]

pub static INDEX: &'static [u8] = b"<!DOCTYPE HTML>\n<html lang=\"{{ language }}\">\n    <head>\n        <meta charset=\"UTF-8\">\n        <title>{{ title }}</title>\n        <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\">\n        <meta name=\"description\" content=\"{{ description }}\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n        <base href=\"{{ path_to_root }}\">\n\n        <link rel=\"stylesheet\" href=\"book.css\">\n        <link href=\"https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800\" rel=\"stylesheet\" type=\"text/css\">\n        <link href=\"https://fonts.googleapis.com/css?family=Source+Code+Pro:500\" rel=\"stylesheet\" type=\"text/css\">\n\n        <link rel=\"shortcut icon\" href=\"{{ favicon }}\">\n\n        <!-- Font Awesome -->\n        <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css\">\n\n        <link rel=\"stylesheet\" href=\"highlight.css\">\n        <link rel=\"stylesheet\" href=\"tomorrow-night.css\">\n        <link rel=\"stylesheet\" href=\"ayu-highlight.css\">\n\n        <!-- Custom theme -->\n        {{#each additional_css}}\n        <link rel=\"stylesheet\" href=\"{{this}}\">\n        {{/each}}\n\n        {{#if mathjax_support}}\n        <!-- MathJax -->\n        <script type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML\"></script>\n        {{/if}}\n\n        <!-- Fetch Clipboard.js from CDN but have a local fallback -->\n        <script src=\"https://cdn.jsdelivr.net/clipboard.js/1.6.1/clipboard.min.js\"></script>\n        <script>\n            if (typeof Clipboard == \'undefined\') {\n                document.write(unescape(\"%3Cscript src=\'clipboard.min.js\'%3E%3C/script%3E\"));\n            }\n        </script>\n\n        <!-- Fetch JQuery from CDN but have a local fallback -->\n        <script src=\"https://code.jquery.com/jquery-2.1.4.min.js\"></script>\n        <script>\n            if (typeof jQuery == \'undefined\') {\n                document.write(unescape(\"%3Cscript src=\'jquery.js\'%3E%3C/script%3E\"));\n            }\n        </script>\n\n        <!-- Fetch elasticlunr.js from CDN but have a local fallback -->\n        <script src=\"https://cdnjs.cloudflare.com/ajax/libs/elasticlunr/0.9.6/elasticlunr.min.js\"></script>\n        <script>\n            if (typeof elasticlunr == \'undefined\') {\n                document.write(unescape(\"%3Cscript src=\'elasticlunr.min.js\'%3E%3C/script%3E\"));\n            }\n        </script>\n\n        <!-- Fetch store.js from local - TODO add CDN when 2.x.x is available on cdnjs -->\n        <script src=\"store.js\"></script>\n\n        <!-- Custom JS script -->\n        {{#each additional_js}}\n        <script type=\"text/javascript\" src=\"{{this}}\"></script>\n        {{/each}}\n\n    </head>\n    <body class=\"light\">\n        <!-- Set the theme before any content is loaded, prevents flash -->\n        <script type=\"text/javascript\">\n            var theme = store.get(\'mdbook-theme\');\n            if (theme === null || theme === undefined) { theme = \'light\'; }\n            $(\'body\').removeClass().addClass(theme);\n        </script>\n\n        <!-- Hide / unhide sidebar before it is displayed -->\n        <script type=\"text/javascript\">\n            var sidebar = store.get(\'mdbook-sidebar\');\n            if (sidebar === \"hidden\") { $(\"html\").addClass(\"sidebar-hidden\") }\n            else if (sidebar === \"visible\") { $(\"html\").addClass(\"sidebar-visible\") }\n        </script>\n\n        <div id=\"sidebar\" class=\"sidebar\">\n            <div id=\"searchresults-outer\" class=\"searchresults-outer\">\n                <div class=\"searchresults-header\" id=\"searchresults-header\"></div>\n                <ul id=\"searchresults\">\n                </ul>\n            </div>\n            {{#toc}}{{/toc}}\n        </div>\n\n        <div id=\"page-wrapper\" class=\"page-wrapper\">\n\n            <div class=\"page\" tabindex=\"-1\">\n                <div id=\"menu-bar\" class=\"menu-bar\">\n                    <div class=\"left-buttons\">\n                        <i id=\"sidebar-toggle\" class=\"fa fa-bars\"></i>\n                        <i id=\"theme-toggle\" class=\"fa fa-paint-brush\"></i>\n                        <input type=\"search\" id=\"searchbar\" name=\"searchbar\" placeholder=\"Search this book ...\">\n                        <i id=\"search-go\" class=\"fa fa-search\"></i>\n                    </div>\n\n                    <h1 class=\"menu-title\">{{ book_title }}</h1>\n\n                    <div class=\"right-buttons\">\n                        <a href=\"print.html\">\n                            <i id=\"print-button\" class=\"fa fa-print\" title=\"Print this book\"></i>\n                        </a>\n                    </div>\n                </div>\n\n                <div id=\"content\" class=\"content\">\n                    {{{ content }}}\n                </div>\n\n                <!-- Mobile navigation buttons -->\n                {{#previous}}\n                    <a rel=\"prev\" href=\"{{link}}\" class=\"mobile-nav-chapters previous\">\n                        <i class=\"fa fa-angle-left\"></i>\n                    </a>\n                {{/previous}}\n\n                {{#next}}\n                    <a rel=\"next\" href=\"{{link}}\" class=\"mobile-nav-chapters next\">\n                        <i class=\"fa fa-angle-right\"></i>\n                    </a>\n                {{/next}}\n\n            </div>\n\n            {{#previous}}\n                <a href=\"{{link}}\" class=\"nav-chapters previous\" title=\"You can navigate through the chapters using the arrow keys\">\n                    <i class=\"fa fa-angle-left\"></i>\n                </a>\n            {{/previous}}\n\n            {{#next}}\n                <a href=\"{{link}}\" class=\"nav-chapters next\" title=\"You can navigate through the chapters using the arrow keys\">\n                    <i class=\"fa fa-angle-right\"></i>\n                </a>\n            {{/next}}\n\n        </div>\n\n\n        <!-- Local fallback for Font Awesome -->\n        <script>\n            if ($(\".fa\").css(\"font-family\") !== \"FontAwesome\") {\n                $(\'<link rel=\"stylesheet\" type=\"text/css\" href=\"_FontAwesome/css/font-awesome.css\">\').prependTo(\'head\');\n            }\n        </script>\n\n        <!-- Livereload script (if served using the cli tool) -->\n        {{{livereload}}}\n\n        {{#if google_analytics}}\n        <script>\n        (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n        })(window,document,\'script\',\'https://www.google-analytics.com/analytics.js\',\'ga\');\n\n        ga(\'create\', \'{{google_analytics}}\', \'auto\');\n        ga(\'send\', \'pageview\');\n        </script>\n        {{/if}}\n\n        {{#if playpens_editable}}\n        <script src=\"{{ ace_js }}\" type=\"text/javascript\" charset=\"utf-8\"></script>\n        <script src=\"{{ editor_js }}\" type=\"text/javascript\" charset=\"utf-8\"></script>\n        <script src=\"{{ mode_rust_js }}\" type=\"text/javascript\" charset=\"utf-8\"></script>\n        <script src=\"{{ theme_dawn_js }}\" type=\"text/javascript\" charset=\"utf-8\"></script>\n        <script src=\"{{ theme_tomorrow_night_js }}\" type=\"text/javascript\" charset=\"utf-8\"></script>\n        {{/if}}\n\n        {{#if is_print}}\n        <script>\n            $(document).ready(function() {\n                window.print();\n            })\n        </script>\n        {{/if}}\n\n        <script src=\"highlight.js\"></script>\n        <script src=\"book.js\"></script>\n    </body>\n</html>\n"