diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0037ec9..2a8ae95 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,43 +1,43 @@ -<head>
- {{ partial "meta" . }}
-
- <link
- rel="stylesheet"
- href="{{ `/css/bootstrap/bootstrap.min.css` | relURL }}"
- />
- <link
- rel="stylesheet"
- href="https://use.fontawesome.com/releases/v5.15.2/css/all.css"
- integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu"
- crossorigin="anonymous"
- />
- <link
- rel="stylesheet"
- href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css"
- />
- <link
- rel="stylesheet"
- href="//fonts.googleapis.com/css?family=Didact+Gothic%7CRoboto:400%7CRoboto+Mono"
- />
- <link rel="stylesheet" href="{{ print "/css/aafu_" .Site.Params.theme.mainTheme ".css" | relURL }}" />
- <link rel="stylesheet" href="{{ `/css/aafu.css` | relURL }}" />
-
- <script>
- var themeColor = document.querySelector("meta[name=theme-color]");
- window.onload = () => {
- themeColor.content = getComputedStyle(document.body)["background-color"];
- let defaultActivePanel = document.querySelector(".accordion.active");
- if (defaultActivePanel) {
- defaultActivePanel.nextElementSibling.style.maxHeight =
- defaultActivePanel.nextElementSibling.scrollHeight + "px";
- }
- };
- window.onresize = () => {
- let defaultActivePanel = document.querySelector(".accordion.active");
- if (defaultActivePanel) {
- defaultActivePanel.nextElementSibling.style.maxHeight =
- defaultActivePanel.nextElementSibling.scrollHeight + "px";
- }
- };
- </script>
-</head>
+<head> + {{ partial "meta" . }} + + <link + rel="stylesheet" + href="{{ `/css/bootstrap/bootstrap.min.css` | relURL }}" + /> + <link + rel="stylesheet" + href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" + integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" + crossorigin="anonymous" + /> + <link + rel="stylesheet" + href="https://cdn.rawgit.com/jpswalsh/academicons/master/css/academicons.min.css" + /> + <link + rel="stylesheet" + href="//fonts.googleapis.com/css?family=Didact+Gothic%7CRoboto:400%7CRoboto+Mono" + /> + <link rel="stylesheet" href="{{ print "/css/aafu_" .Site.Params.theme.mainTheme ".css" | relURL }}" /> + <link rel="stylesheet" href="{{ `/css/aafu.css` | relURL }}" /> + + <script> + var themeColor = document.querySelector("meta[name=theme-color]"); + window.onload = () => { + themeColor.content = getComputedStyle(document.body)["background-color"]; + let defaultActivePanel = document.querySelector(".accordion.active"); + if (defaultActivePanel) { + defaultActivePanel.nextElementSibling.style.maxHeight = + defaultActivePanel.nextElementSibling.scrollHeight + "px"; + } + }; + window.onresize = () => { + let defaultActivePanel = document.querySelector(".accordion.active"); + if (defaultActivePanel) { + defaultActivePanel.nextElementSibling.style.maxHeight = + defaultActivePanel.nextElementSibling.scrollHeight + "px"; + } + }; + </script> +</head> |