Remove mermaid.js, Add meta tags

This commit is contained in:
Lucas Chaplain 2022-02-01 18:50:07 +01:00
parent b77c2f59e3
commit 029e024b15

View file

@ -4,8 +4,11 @@
<html lang="{{ lang }}"> <html lang="{{ lang }}">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport" /> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="An open-source distributed storage service you can self-host to fullfill many needs.">
<meta name="application-name" content="{{ config.title }}">
<base href="{{ config.base_url }}">
{% include "partials/shared/head.html" %} {% include "partials/shared/head.html" %}
</head> </head>
@ -27,14 +30,7 @@
{% include "partials/shared/footer.html" %} {% include "partials/shared/footer.html" %}
{% if config.extra.mermaid.enabled %}
<script src="https://cdn.jsdelivr.net/npm/mermaid@8.13.5/dist/mermaid.min.js"
integrity="sha384-0yWn54pSGtfKCU+skfA69l25VsCw+MZt4LQov3xNRoS7YkAMrFokGgSBnAWSK4pv"
crossorigin="anonymous"></script>
{% endif %}
<script src="{{ get_url(path='elasticlunr.min.js') }}"></script> <script src="{{ get_url(path='elasticlunr.min.js') }}"></script>
<!-- <script src="{{ get_url(path='search_index.' ~ lang ~ '.js') }}"></script> -->
{%- if lang != "en" -%} {%- if lang != "en" -%}
{%- block other_lang_search_js -%}{%- endblock -%} {%- block other_lang_search_js -%}{%- endblock -%}
{%- endif -%} {%- endif -%}