mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 08:13:33 +01:00
aa6520daac
* 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
16 lines
328 B
Plaintext
Executable File
16 lines
328 B
Plaintext
Executable File
<% if (page) { %>
|
|
|
|
import { renderEmbedPage } from './static/js/utils/renderer';
|
|
|
|
<% if (page.component) { %>
|
|
|
|
import { <%= page.component %> } from './static/js/pages/<%= page.component %>';
|
|
|
|
<% if (page.id) { %>
|
|
renderEmbedPage( '<%= page.id %>', <%= page.component %> );
|
|
<% } %>
|
|
|
|
<% } %>
|
|
|
|
<% } %>
|