{# #######################
  head.html
##########################

This block contains the meta tags for the HTML head. Note, this isn't
page contents, it's machine-readable tags for browsers and search engines.

#}

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="MultiQC: A modular tool to aggregate results from bioinformatics analyses across many samples into a single report">
<meta name="author" content="MultiQC">
<title>{{ config.title + ': ' if config.title != None }}MultiQC Report</title>

<!-- JSON plot data -->
<script type="text/plain" id="mqc_compressed_plotdata">{{ report.plot_compressed_json }}</script>

<script type="application/json" id="mqc_config">{{
{
    "num_datasets_plot_limit": config.num_datasets_plot_limit,
    "sample_names_rename": config.sample_names_rename,
    "decimalPoint_format": config.decimalPoint_format,
    "thousandsSep_format": config.thousandsSep_format,
} | tojson
}}</script>

<!-- Instead of saving data directly into variables in a normal <script>, data is separated into
     above non-executed script blocks. This way, potential Content Security Policy restrictions
     only apply to static script blocks, which can be added as sha256 exceptions.

     As a precaution the script is wrapped in raw block to remind developers that data should
     not be injected directly into it. -->
{% raw %}
<script type="text/javascript">
mqc_compressed_plotdata = document.getElementById('mqc_compressed_plotdata').innerHTML;
mqc_config = JSON.parse(document.getElementById('mqc_config').innerHTML);
</script>
{% endraw %}
