Verified Commit 46643140 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

change links to public lap resource

parent 9b02ef9e
......@@ -96,13 +96,14 @@ banner_more_text: >-
More information
cookies_expire: 180 # days
analyticsurl: https://analytics.lcsb.uni.lu/hub/
siteID: -1 # you get this siteID by sending an email to lcsb-r3@uni.lu
lapurl: https://analytics.lcsb.uni.lu/lap/
siteID: 4 # you get this siteID by sending an email to lcsb-r3@uni.lu
cookieName: lap
accept_all_text: >-
Aggregate statistics cookies accepted
only_necessary_text: >-
Only necessary cookies accepted
path_policy: privacy-policy
logo_policy: /assets/banners/r3-logo.svg
logo_policy: https://analytics.lcsb.uni.lu/lap/static/logos/r3-logo.svg
timeout_hidebanner: 500 # milliseconds
cookieDomain: '*' # track visitors across all subdomains of a given domain; set to * to ignore
......@@ -13,23 +13,26 @@
<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 %}
<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 }}";
settings.cookieDomain = "{{ site.cookieDomain }}";
const settings = {
expires: "{{ site.cookies_expire }}",
matomoURL: "{{ site.analyticsurl }}",
siteID: "{{ site.siteID }}",
accept_all_text: "{{ site.accept_all_text }}",
only_necessary_text: "{{ site.only_necessary_text }}",
cookieName: "{{ site.cookieName }}",
bots: /bot|crawler|spider|crawling/i,
timeout_hidebanner: "{{ site.timeout_hidebanner }}",
cookieDomain: "{{ site.cookieDomain }}",
}
</script>
<script src="{{ '/assets/js/jquery.min.js' | relative_url }}"></script>
<script src="{{ '/assets/js/gdpr.js' | relative_url }}"></script>
<script src="https://analytics.lcsb.uni.lu/lap/static/js/jquery.min.js"></script>
<script src="https://analytics.lcsb.uni.lu/lap/static/js/lap.js"></script>
{%- endif -%}
{%- endif -%} {%- if jekyll.environment == "review" -%}
{%- 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 -%}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment