_includes/head.html in jekyll-theme-lcsb-default-0.3.19 vs _includes/head.html in jekyll-theme-lcsb-default-0.4.0
- old
+ new
@@ -1,34 +1,35 @@
<head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {%- seo -%}
- <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
- <link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1"> {%- seo -%}
+ <link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
+ <link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
- <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicon/apple-touch-icon.png' | relative_url }}">
- <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon/favicon-32x32.png' | relative_url }}">
- <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon/favicon-16x16.png' | relative_url }}">
- <link rel="manifest" href="{{ '/assets/favicon/site.webmanifest' | relative_url }}">
- <link rel="mask-icon" href="{{ '/assets/favicon/safari-pinned-tab.svg' | relative_url }}" color="#5bbad5">
- <link rel="shortcut icon" href="{{ '/assets/favicon/favicon.ico' | relative_url }}">
- <meta name="msapplication-TileColor" content="#da532c">
- <meta name="msapplication-config" content="{{ '/assets/favicon/browserconfig.xml' | relative_url }}">
- <meta name="theme-color" content="#ffffff">
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/favicon/apple-touch-icon.png' | relative_url }}">
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ '/assets/favicon/favicon-32x32.png' | relative_url }}">
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ '/assets/favicon/favicon-16x16.png' | relative_url }}">
+ <link rel="manifest" href="{{ '/assets/favicon/site.webmanifest' | relative_url }}">
+ <link rel="mask-icon" href="{{ '/assets/favicon/safari-pinned-tab.svg' | relative_url }}" color="#5bbad5">
+ <link rel="shortcut icon" href="{{ '/assets/favicon/favicon.ico' | relative_url }}">
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="msapplication-config" content="{{ '/assets/favicon/browserconfig.xml' | relative_url }}">
+ <meta name="theme-color" content="#ffffff"> {%- include css-imports.html -%} {% if site.siteID > 0 %}
+ <script>
+ var settings = [];
+ settings.expires = "{{ site.cookies_expire }}";
+ settings.matomoURL = "{{ site.analyticsurl }}";
+ settings.siteID = "{{ site.siteID }}";
+ settings.accept_all_text = "{{ site.accept_all_text }}";
+ settings.only_necessary_text = "{{ site.only_necessary_text }}";
+ settings.cookieName = "{{ site.cookieName }}";
+ settings.bots = /bot|crawler|spider|crawling/i;
+ settings.timeout_hidebanner = "{{ site.timeout_hidebanner }}";
+ </script>
+ <script src="{{ '/assets/js/jquery.min.js' | relative_url }}"></script>
+ <script src="{{ '/assets/js/gdpr.js' | relative_url }}"></script>
- {%- include css-imports.html -%}
+ {%- endif -%} {%- if jekyll.environment == "review" -%}
+ <script defer data-project-id='{{site.project_id}}' data-project-path='{{site.project_namespace}}' data-merge-request-id='{{site.mr_id}}' data-mr-url='{{site.gitlab_host}}' id='review-app-toolbar-script' src='{{site.gitlab_host}}/assets/webpack/visual_review_toolbar.js'></script>
+ {%- endif -%}
- {%- if jekyll.environment == "review" -%}
- <script defer
- data-project-id='{{site.project_id}}'
- data-project-path='{{site.project_namespace}}'
- data-merge-request-id='{{site.mr_id}}'
- data-mr-url='{{site.gitlab_host}}'
- id='review-app-toolbar-script'
- src='{{site.gitlab_host}}/assets/webpack/visual_review_toolbar.js'></script>
- {%- endif -%}
-
- {%- if jekyll.environment == 'production' and site.google_analytics -%}
- {%- include google-analytics.html -%}
- {%- endif -%}
-</head>
+</head>
\ No newline at end of file