mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-12-01 12:45:21 +01:00
16 lines
400 B
Plaintext
16 lines
400 B
Plaintext
|
<% if (page) { %>
|
||
|
|
||
|
import { renderPage } from './static/js/utils/renderer';
|
||
|
|
||
|
<% if (page.component) { %>
|
||
|
|
||
|
import { <%= page.component %> } from './static/js/static-pages/<%= page.component %>';
|
||
|
|
||
|
<% if (page.id) { %>
|
||
|
renderPage( '<%= page.id %>', <%= page.component %> );
|
||
|
<% } %>
|
||
|
|
||
|
<% } %>
|
||
|
|
||
|
<% } %>
|