mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 00:03:28 +01:00
files
This commit is contained in:
parent
fe418f854f
commit
44cae7552c
@ -20,11 +20,11 @@ const formatPage = (page) => {
|
|||||||
? templates.renderPageContent({ page: { id: pageContentId, component: page.component } })
|
? templates.renderPageContent({ page: { id: pageContentId, component: page.component } })
|
||||||
: undefined;
|
: undefined;
|
||||||
const headLinks = [
|
const headLinks = [
|
||||||
{ rel: 'preload', href: './static/lib/video-js/7.20.2/video.min.js', as: 'script' },
|
{ rel: 'preload', href: './static/lib/video-js/8.18.1/video.min.js', as: 'script' },
|
||||||
...(page.headLinks ? page.headLinks : []),
|
...(page.headLinks ? page.headLinks : []),
|
||||||
];
|
];
|
||||||
const bodyScripts = [
|
const bodyScripts = [
|
||||||
{ src: './static/lib/video-js/7.20.2/video.min.js' },
|
{ src: './static/lib/video-js/8.18.1/video.min.js' },
|
||||||
...(page.bodyScripts ? page.bodyScripts : []),
|
...(page.bodyScripts ? page.bodyScripts : []),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
@use "sass:math";
|
@use "sass:math";
|
||||||
@import '../../../lib/video-js/7.20.2/video-js.min.css';
|
@import '../../../lib/video-js/8.18.1/video-js.min.css';
|
||||||
@import '../../../css/includes/_variables.scss';
|
@import '../../../css/includes/_variables.scss';
|
||||||
|
|
||||||
@keyframes up-next-circle-countdown {
|
@keyframes up-next-circle-countdown {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{% include "common/head-meta.html" %}
|
{% include "common/head-meta.html" %}
|
||||||
|
|
||||||
{% block headermeta %}
|
{% block headermeta %}
|
||||||
|
|
||||||
<meta property="og:title" content="{{PORTAL_NAME}}">
|
<meta property="og:title" content="{{PORTAL_NAME}}">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
|
|
||||||
@ -22,7 +22,7 @@
|
|||||||
{% block topimports %}{%endblock topimports %}
|
{% block topimports %}{%endblock topimports %}
|
||||||
|
|
||||||
{% include "config/index.html" %}
|
{% include "config/index.html" %}
|
||||||
|
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@ -39,9 +39,9 @@
|
|||||||
{% block aftercontent %}{% endblock %}
|
{% block aftercontent %}{% endblock %}
|
||||||
|
|
||||||
{% if LOAD_FROM_CDN %}
|
{% if LOAD_FROM_CDN %}
|
||||||
<script src="https://vjs.zencdn.net/7.20.2/video.min.js"></script>
|
<script src="https://vjs.zencdn.net/8.18.1/video.min.js"></script>
|
||||||
{% else %}
|
{% else %}
|
||||||
<script src="{% static "lib/video-js/7.20.2/video.min.js" %}"></script>
|
<script src="{% static "lib/video-js/8.18.1/video.min.js" %}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block externalscripts %}{% endblock externalscripts %}
|
{% block externalscripts %}{% endblock externalscripts %}
|
||||||
|
Loading…
Reference in New Issue
Block a user