Frontent dev env (#247)

* Added frontend development files/environment

* More items-categories related removals

* Improvements in pages templates (inc. static pages)

* Improvements in video player

* Added empty home page message + cta

* Updates in media, playlist and management pages

* Improvements in material icons font loading

* Replaced media & playlists links in frontend dev-env

* frontend package version update

* chnaged frontend dev url port

* static files update

* Changed default position of theme switcher

* enabled frontend docker container
This commit is contained in:
Yiannis Stergiou
2021-07-11 18:01:34 +03:00
committed by GitHub
parent 060bb45725
commit aa6520daac
555 changed files with 201927 additions and 66002 deletions

View File

@@ -0,0 +1,32 @@
<% var item, key %>
<head>
<% if (htmlWebpackPlugin.options.title) { %>
<!-- Title -->
<title><%= htmlWebpackPlugin.options.title %></title>
<% } %>
<% if (htmlWebpackPlugin.options.baseUrl) { %>
<!-- Base -->
<base href="<%= htmlWebpackPlugin.options.baseUrl %>">
<% } %>
<% if (Array.isArray(htmlWebpackPlugin.options.html.head.meta) && htmlWebpackPlugin.options.html.head.meta.length ) { %>
<!-- Meta -->
<% for (item of htmlWebpackPlugin.options.html.head.meta) { %><meta<% for (key in item) { %> <%= key %>="<%= item[key] %>"<% } %> /><% }
} %>
<% if (Array.isArray(htmlWebpackPlugin.options.html.head.links) && htmlWebpackPlugin.options.html.head.links.length ) { %>
<!-- Links -->
<% for (item of htmlWebpackPlugin.options.html.head.links) { %><link<% for (key in item) { %> <%= key %>="<%= item[key] %>"<% } %> /><% }
} %>
<% if (Array.isArray(htmlWebpackPlugin.options.html.head.scripts) && htmlWebpackPlugin.options.html.head.scripts.length ) { %>
<!-- Scripts -->
<% for (item of htmlWebpackPlugin.options.html.head.scripts) { %>
<script<% for (key in item) { %> <%= key %>="<%= item[key] %>"<% } %>></script><%
}
} %>
</head>