_includes/head.html in jekyll-theme-lcsb-default-0.3.10 vs _includes/head.html in jekyll-theme-lcsb-default-0.3.11
- old
+ new
@@ -7,9 +7,19 @@
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
<link rel="stylesheet" href="{{ '/assets/fontawesome/css/fontawesome-all.min.css' | relative_url }}">
{%- include css-imports.html -%}
+ {%- 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>