Remove mermaid.js, Add meta tags
This commit is contained in:
parent
b77c2f59e3
commit
029e024b15
1 changed files with 5 additions and 9 deletions
|
@ -4,8 +4,11 @@
|
|||
<html lang="{{ lang }}">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
||||
<meta charset="utf-8">
|
||||
<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" %}
|
||||
</head>
|
||||
|
||||
|
@ -27,14 +30,7 @@
|
|||
|
||||
{% 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='search_index.' ~ lang ~ '.js') }}"></script> -->
|
||||
{%- if lang != "en" -%}
|
||||
{%- block other_lang_search_js -%}{%- endblock -%}
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Reference in a new issue