Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor vendors #1081

Merged
merged 3 commits into from
Aug 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 37 additions & 22 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ font:
# - CDNJS (cdnjs.cloudflare.com), provided by cloudflare
# ---------------------------------------------------------------

# Math Equations Render Support
# Math Formulas Render Support
math:
enable: false

Expand All @@ -515,28 +515,17 @@ math:
# If you set it to false, it will load mathjax / katex srcipt EVERY PAGE.
per_page: true

engine: mathjax
#engine: katex

# hexo-renderer-pandoc (or hexo-renderer-kramed) required for full MathJax support.
mathjax:
cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML

enable: false
# See: https://mhchem.github.io/MathJax-mhchem/
#mhchem: //cdn.jsdelivr.net/npm/mathjax-mhchem@3
#mhchem: //cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0
mhchem: false

# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) required for full Katex support.
katex:
cdn: //cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css
#cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css

copy_tex:
# See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex
enable: false
copy_tex_js: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js
copy_tex_css: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css
enable: false
# See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex
copy_tex: false

# Easily enable fast Ajax navigation on your website.
# Dependencies: https://github.com/theme-next/theme-next-pjax
Expand Down Expand Up @@ -936,17 +925,12 @@ pdf:
enable: false
# Default height
height: 500px
pdfobject:
cdn: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js
#cdn: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js

# Mermaid tag
mermaid:
enable: false
# Available themes: default | dark | forest | neutral
theme: forest
cdn: //cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js
#cdn: //cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js


# ---------------------------------------------------------------
Expand Down Expand Up @@ -1038,6 +1022,25 @@ vendors:
# fontawesome: //cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
fontawesome:

# MathJax
# Example:
# mathjax: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
# mathjax: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML
# mhchem: //cdn.jsdelivr.net/npm/mathjax-mhchem@3
# mhchem: //cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0
mathjax:
mhchem:

# KaTeX
# Example:
# katex: //cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css
# katex: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
# copy_tex_js: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js
# copy_tex_css: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css
katex:
copy_tex_js:
copy_tex_css:

# Internal version: 0.2.8
# Example:
# pjax: //cdn.jsdelivr.net/gh/theme-next/theme-next-pjax@0/pjax.min.js
Expand Down Expand Up @@ -1125,6 +1128,18 @@ vendors:
algolia_instant_js:
algolia_instant_css:

# PDF
# Example:
# pdfobject: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js
# pdfobject: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js
pdfobject:

# Mermaid
# Example:
# mermaid: //cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js
# mermaid: //cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js
mermaid:

# Internal version: 1.2.1
# Example:
# velocity: //cdn.jsdelivr.net/npm/velocity-animate@1/velocity.min.js
Expand Down
36 changes: 9 additions & 27 deletions layout/_partials/head/head.swig
Original file line number Diff line number Diff line change
Expand Up @@ -49,47 +49,29 @@

{{ next_font() }}

{%- set font_awesome_uri = url_for(theme.vendors._internal + '/font-awesome/css/font-awesome.min.css?v=4.7.0') %}
{%- if theme.vendors.fontawesome %}
{%- set font_awesome_uri = theme.vendors.fontawesome %}
{%- endif %}
{%- set font_awesome_uri = theme.vendors.fontawesome | default(url_for(theme.vendors._internal + '/font-awesome/css/font-awesome.min.css?v=4.7.0')) %}
<link rel="stylesheet" href="{{ font_awesome_uri }}">

{%- if theme.fancybox %}
{%- set fancybox_css_uri = url_for(theme.vendors._internal + '/fancybox/source/jquery.fancybox.css') %}
{%- if theme.vendors.fancybox_css %}
{%- set fancybox_css_uri = theme.vendors.fancybox_css %}
{%- endif %}
{%- set fancybox_css_uri = theme.vendors.fancybox_css | default(url_for(theme.vendors._internal + '/fancybox/source/jquery.fancybox.css')) %}
<link rel="stylesheet" href="{{ fancybox_css_uri }}">
{%- endif %}

{%- if theme.likely.enable %}
{%- set likely_css_url = '//cdn.jsdelivr.net/npm/ilyabirman-likely@2/release/likely.css' %}
{%- if theme.vendors.likely_css %}
{%- set likely_css_url = theme.vendors.likely_css %}
{%- endif %}
<link rel="stylesheet" href="{{ likely_css_url }}">
{%- set likely_css_uri = theme.vendors.likely_css | default('//cdn.jsdelivr.net/npm/ilyabirman-likely@2/release/likely.css') %}
<link rel="stylesheet" href="{{ likely_css_uri }}">
{%- endif %}

{%- if theme.needmoreshare2.enable %}
{%- set needmoreshare2_css = url_for(theme.vendors._internal + '/needsharebutton/needsharebutton.css') %}
{%- if theme.vendors.needmoreshare2_css %}
{%- set needmoreshare2_css = theme.vendors.needmoreshare2_css %}
{%- endif %}
<link rel="stylesheet" href="{{ needmoreshare2_css }}">
{%- set needmoreshare2_css_uri = theme.vendors.needmoreshare2_css | default(url_for(theme.vendors._internal + '/needsharebutton/needsharebutton.css')) %}
<link rel="stylesheet" href="{{ needmoreshare2_css_uri }}">
{%- endif %}

{%- if theme.pace.enable %}
{%- set pace_css_uri = url_for(theme.vendors._internal + '/pace/pace-theme-'+ theme.pace.theme +'.min.css?v=1.0.2') %}
{%- set pace_js_uri = url_for(theme.vendors._internal + '/pace/pace.min.js?v=1.0.2') %}
{%- if theme.vendors.pace %}
{%- set pace_js_uri = theme.vendors.pace %}
{%- endif %}
{%- if theme.vendors.pace_css %}
{%- set pace_css_uri = theme.vendors.pace_css %}
{%- endif %}
<script src="{{ pace_js_uri }}"></script>
{%- set pace_css_uri = theme.vendors.pace_css | default(url_for(theme.vendors._internal + '/pace/pace-theme-' + theme.pace.theme + '.min.css?v=1.0.2')) %}
{%- set pace_js_uri = theme.vendors.pace | default(url_for(theme.vendors._internal + '/pace/pace.min.js?v=1.0.2')) %}
<link rel="stylesheet" href="{{ pace_css_uri }}">
<script src="{{ pace_js_uri }}"></script>
{%- endif %}

{# Export some HEXO Configurations to Front-End #}
Expand Down
7 changes: 2 additions & 5 deletions layout/_partials/share/likely.swig
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
{%- set likely_js_url = '//cdn.jsdelivr.net/npm/ilyabirman-likely@2/release/likely.js' %}
{%- if theme.vendors.likely_js %}
{%- set likely_js_url = theme.vendors.likely_js %}
{%- endif %}
<script src="{{ likely_js_url }}"></script>
{%- set likely_js_uri = theme.vendors.likely_js | default('//cdn.jsdelivr.net/npm/ilyabirman-likely@2/release/likely.js') %}
<script src="{{ likely_js_uri }}"></script>
7 changes: 2 additions & 5 deletions layout/_partials/share/needsharebutton.swig
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
</div>
{%- endif %}

{%- set needmoreshare2_js = url_for(theme.vendors._internal + '/needsharebutton/needsharebutton.js') %}
{%- if theme.vendors.needmoreshare2_js %}
{%- set needmoreshare2_js = theme.vendors.needmoreshare2_js %}
{%- endif %}
<script src="{{ needmoreshare2_js }}"></script>
{%- set needmoreshare2_js_uri = theme.vendors.needmoreshare2_js | default(url_for(theme.vendors._internal + '/needsharebutton/needsharebutton.js')) %}
<script src="{{ needmoreshare2_js_uri }}"></script>
<script>
{%- if theme.needmoreshare2.postbottom.enable %}
pbOptions = {};
Expand Down
15 changes: 6 additions & 9 deletions layout/_scripts/three.swig
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
{%- if theme.three.enable and theme.three.delay %}
{%- set three_url = url_for(theme.vendors._internal + '/three/three.min.js') %}
{%- if theme.vendors.three %}
{%- set three_url = theme.vendors.three %}
{%- endif %}
{%- set three_uri = theme.vendors.three | default(url_for(theme.vendors._internal + '/three/three.min.js')) %}

{%- if theme.three.three_waves %}
{%- set waves = theme.vendors.three_waves | default(url_for(theme.vendors._internal + '/three/three-waves.min.js')) %}
{%- set waves_uri = theme.vendors.three_waves | default(url_for(theme.vendors._internal + '/three/three-waves.min.js')) %}
{%- endif %}

{%- if theme.three.canvas_lines %}
{%- set lines = theme.vendors.canvas_lines | default(url_for(theme.vendors._internal + '/three/canvas_lines.min.js')) %}
{%- set lines_uri = theme.vendors.canvas_lines | default(url_for(theme.vendors._internal + '/three/canvas_lines.min.js')) %}
{%- endif %}

{%- if theme.three.canvas_sphere %}
{%- set sphere = theme.vendors.canvas_sphere | default(url_for(theme.vendors._internal + '/three/canvas_sphere.min.js')) %}
{%- set sphere_uri = theme.vendors.canvas_sphere | default(url_for(theme.vendors._internal + '/three/canvas_sphere.min.js')) %}
{%- endif %}

<script>
;((d, w) => {
loadThree = () => {
let s = d.createElement('script');
s.src = '{{ three_url }}';
s.src = '{{ three_uri }}';
d.body.appendChild(s);
}
let styles = ['{{ waves }}', '{{ lines }}', '{{ sphere }}'];
let styles = ['{{ waves_uri }}', '{{ lines_uri }}', '{{ sphere_uri }}'];
loadStyle = () => {
styles.forEach(x => {
if (x !== '') {
Expand Down
15 changes: 3 additions & 12 deletions layout/_scripts/vendors.swig
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,15 @@

{%- if theme.canvas_nest.enable %}
{%- if theme.canvas_nest.onmobile %}
{%- set canvas_nest_uri = url_for(theme.vendors._internal + '/canvas-nest/canvas-nest.min.js') %}
{%- if theme.vendors.canvas_nest %}
{%- set canvas_nest_uri = theme.vendors.canvas_nest %}
{%- endif %}
{%- set canvas_nest_uri = theme.vendors.canvas_nest | default(url_for(theme.vendors._internal + '/canvas-nest/canvas-nest.min.js')) %}
{% else %}
{%- set canvas_nest_uri = url_for(theme.vendors._internal + '/canvas-nest/canvas-nest-nomobile.min.js') %}
{%- if theme.vendors.canvas_nest_nomobile %}
{%- set canvas_nest_uri = theme.vendors.canvas_nest_nomobile %}
{%- endif %}
{%- set canvas_nest_uri = theme.vendors.canvas_nest_nomobile | default(url_for(theme.vendors._internal + '/canvas-nest/canvas-nest-nomobile.min.js')) %}
{%- endif %}
<script color='{{ theme.canvas_nest.color }}' opacity='{{ theme.canvas_nest.opacity }}' zIndex='{{ theme.canvas_nest.zIndex }}' count='{{ theme.canvas_nest.count }}' src="{{ canvas_nest_uri }}"></script>
{%- endif %}

{%- if theme.canvas_ribbon.enable %}
{%- set canvas_ribbon_uri = url_for(theme.vendors._internal + '/canvas-ribbon/canvas-ribbon.js') %}
{%- if theme.vendors.canvas_ribbon %}
{%- set canvas_ribbon_uri = theme.vendors.canvas_ribbon %}
{%- endif %}
{%- set canvas_ribbon_uri = theme.vendors.canvas_ribbon | default(url_for(theme.vendors._internal + '/canvas-ribbon/canvas-ribbon.js')) %}
<script size="{{ theme.canvas_ribbon.size }}" alpha="{{ theme.canvas_ribbon.alpha }}" zIndex="{{theme.canvas_ribbon.zIndex }}" src="{{ canvas_ribbon_uri }}"></script>
{%- endif %}

Expand Down
5 changes: 1 addition & 4 deletions layout/_third-party/bookmark.swig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{%- if theme.bookmark.enable %}
{%- set bookmark_uri = url_for(theme.vendors._internal + '/bookmark/bookmark.min.js?v=1.0') %}
{%- if theme.vendors.bookmark %}
{%- set bookmark_uri = theme.vendors.bookmark %}
{%- endif %}
{%- set bookmark_uri = theme.vendors.bookmark | default(url_for(theme.vendors._internal + '/bookmark/bookmark.min.js?v=1.0')) %}
<script src="{{ bookmark_uri }}"></script>
<script{{ pjax }}>
if (CONFIG.page.isPost) {
Expand Down
14 changes: 4 additions & 10 deletions layout/_third-party/comments/disqusjs.swig
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{%- if page.comments %}
{%- set disqusjs_css_url = '//cdn.jsdelivr.net/npm/disqusjs@1/dist/disqusjs.css' %}
{%- if theme.vendors.disqusjs_css %}
{%- set disqusjs_css_url = theme.vendors.disqusjs_css %}
{%- endif %}
<link rel="stylesheet" href="{{ disqusjs_css_url }}">
{%- set disqusjs_css_uri = theme.vendors.disqusjs_css | default('//cdn.jsdelivr.net/npm/disqusjs@1/dist/disqusjs.css') %}
<link rel="stylesheet" href="{{ disqusjs_css_uri }}">

{%- set disqusjs_js_url = '//cdn.jsdelivr.net/npm/disqusjs@1/dist/disqus.js' %}
{%- if theme.vendors.disqusjs_js %}
{%- set disqusjs_js_url = theme.vendors.disqusjs_js %}
{%- endif %}
{%- set disqusjs_js_uri = theme.vendors.disqusjs_js | default('//cdn.jsdelivr.net/npm/disqusjs@1/dist/disqus.js') %}

<script>
NexT.utils.getScript('{{ disqusjs_js_url }}', function() {
NexT.utils.getScript('{{ disqusjs_js_uri }}', function() {
window.dsqjs = new DisqusJS({
api: '{{ theme.disqusjs.api }}' || 'https://disqus.com/api/',
apikey: '{{ theme.disqusjs.apikey }}',
Expand Down
14 changes: 4 additions & 10 deletions layout/_third-party/comments/gitalk.swig
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{%- if page.comments %}
{%- set gitalk_css_url = '//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css' %}
{%- if theme.vendors.gitalk_css %}
{%- set gitalk_css_url = theme.vendors.gitalk_css %}
{%- endif %}
<link rel="stylesheet" href="{{ gitalk_css_url }}">
{%- set gitalk_css_uri = theme.vendors.gitalk_css | default('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css') %}
<link rel="stylesheet" href="{{ gitalk_css_uri }}">

{%- set gitalk_js_url = '//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js' %}
{%- if theme.vendors.gitalk_js %}
{%- set gitalk_js_url = theme.vendors.gitalk_js %}
{%- endif %}
{%- set gitalk_js_uri = theme.vendors.gitalk_js | default('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js') %}

<script>
NexT.utils.getScript('{{ gitalk_js_url }}', function() {
NexT.utils.getScript('{{ gitalk_js_uri }}', function() {
var gitalk = new Gitalk({
clientID: '{{ theme.gitalk.client_id }}',
clientSecret: '{{ theme.gitalk.client_secret }}',
Expand Down
5 changes: 1 addition & 4 deletions layout/_third-party/comments/valine.swig
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{%- set valine_uri = '//unpkg.com/valine/dist/Valine.min.js' %}
{%- if theme.vendors.valine %}
{%- set valine_uri = theme.vendors.valine %}
{%- endif %}
{%- set valine_uri = theme.vendors.valine | default('//unpkg.com/valine/dist/Valine.min.js') %}

<script>
NexT.utils.getScript('{{ valine_uri }}', function() {
Expand Down
4 changes: 2 additions & 2 deletions layout/_third-party/math/index.swig
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
{%- endif %}

{%- if not theme.math.per_page or is_index_has_math or page.mathjax %}
{%- if theme.math.engine == 'mathjax' %}
{%- if theme.math.mathjax.enable %}
{% include 'mathjax.swig' %}
{% elif theme.math.engine == 'katex' %}
{% elif theme.math.katex.enable %}
{% include 'katex.swig' %}
{%- endif %}
{%- endif %}
Expand Down
15 changes: 7 additions & 8 deletions layout/_third-party/math/katex.swig
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<link rel="stylesheet" href="{{ theme.math.katex.cdn }}">
{%- if theme.math.katex.copy_tex.enable %}
{%- if theme.math.katex.copy_tex.copy_tex_js %}
<script src="{{ theme.math.katex.copy_tex.copy_tex_js }}"></script>
{%- endif %}
{%- if theme.math.katex.copy_tex.copy_tex_css %}
<link rel="stylesheet" href="{{ theme.math.katex.copy_tex.copy_tex_css }}">
{%- endif %}
{%- set katex_uri = theme.vendors.katex | default('//cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js') %}
<link rel="stylesheet" href="{{ katex_uri }}">
{%- if theme.math.katex.copy_tex %}
{%- set copy_tex_js_uri = theme.vendors.copy_tex_js | default('//cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js') %}
{%- set copy_tex_css_uri = theme.vendors.copy_tex_css | default('//cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css') %}
<script src="{{ copy_tex_js_uri }}"></script>
<link rel="stylesheet" href="{{ copy_tex_css_uri }}">
{%- endif %}
6 changes: 4 additions & 2 deletions layout/_third-party/math/mathjax.swig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{%- set mhchem_uri = theme.vendors.mhchem | default('//cdn.jsdelivr.net/npm/mathjax-mhchem@3') %}
<script type="text/x-mathjax-config">
{%- if theme.math.mathjax.mhchem %}
MathJax.Ajax.config.path['mhchem'] = '{{ theme.math.mathjax.mhchem }}';
MathJax.Ajax.config.path['mhchem'] = '{{ mhchem_uri }}';
{%- endif %}

MathJax.Hub.Config({
Expand Down Expand Up @@ -44,8 +45,9 @@
}
});
</script>
{%- set mathjax_uri = theme.vendors.mathjax | default('//cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML') %}
<script>
NexT.utils.getScript('{{ theme.math.mathjax.cdn }}', function() {
NexT.utils.getScript('{{ mathjax_uri }}', function() {
MathJax.Hub.Typeset();
}, window.MathJax);
</script>
5 changes: 1 addition & 4 deletions layout/_third-party/quicklink.swig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{%- if theme.quicklink.enable %}
{%- set quicklink_uri = url_for(theme.vendors._internal + '/quicklink/quicklink.umd.js') %}
{%- if theme.vendors.quicklink %}
{%- set quicklink_uri = theme.vendors.quicklink %}
{%- endif %}
{%- set quicklink_uri = theme.vendors.quicklink | default(url_for(theme.vendors._internal + '/quicklink/quicklink.umd.js')) %}

{%- if is_home() %}
{%- if theme.quicklink.home %}
Expand Down
17 changes: 4 additions & 13 deletions layout/_third-party/search/algolia-search.swig
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
{# S: Include Algolia instantsearch.js library #}
{%- set algolia_instant_css = url_for(theme.vendors._internal + '/algolia-instant-search/instantsearch.min.css') %}
{%- if theme.vendors.algolia_instant_css %}
{%- set algolia_instant_css = theme.vendors.algolia_instant_css %}
{%- endif %}
<link rel="stylesheet" href="{{ algolia_instant_css }}">

{%- set algolia_instant_js = url_for(theme.vendors._internal + '/algolia-instant-search/instantsearch.min.js') %}
{%- if theme.vendors.algolia_instant_js %}
{%- set algolia_instant_js = theme.vendors.algolia_instant_js %}
{%- endif %}
<script src="{{ algolia_instant_js }}"></script>
{# E: Include Algolia instantsearch.js library #}
{%- set algolia_instant_css_uri = theme.vendors.algolia_instant_css | default(url_for(theme.vendors._internal + '/algolia-instant-search/instantsearch.min.css')) %}
{%- set algolia_instant_js_uri = theme.vendors.algolia_instant_js | default(url_for(theme.vendors._internal + '/algolia-instant-search/instantsearch.min.js')) %}
<link rel="stylesheet" href="{{ algolia_instant_css_uri }}">
<script src="{{ algolia_instant_js_uri }}"></script>

<script src="{{ url_for(theme.js) }}/algolia-search.js?v={{ version }}"></script>
Loading