datat.fi/_includes/scripts.html

16 lines
517 B
HTML
Raw Permalink Normal View History

2017-03-07 23:12:17 +02:00
{% if jekyll.environment == 'production' and site.google_analytics %}
{% include google-analytics.html %}
{% endif %}
<script async src="{{ '/assets/javascripts/main.js' | relative_url }}"></script>
{% if site.search %}
{%- assign search_provider = site.search_provider | default: "lunr" -%}
{%- case search_provider -%}
{%- when "lunr" -%}
{% include search/lunr-search-scripts.html %}
{%- when "algolia" -%}
{% include search/algolia-search-scripts.html %}
{%- endcase -%}
{% endif %}