1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 12:48:00 +02:00

#431 fix default theme

This commit is contained in:
Awilum
2018-02-28 01:43:10 +03:00
parent 1d4f0b0349
commit 9ca91aa2ce
5 changed files with 13 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -1,3 +1,3 @@
<?php Theme::getTemplate('partials/head'); ?>
index
<?php echo Pages::getCurrentPage()['content']; ?>
<?php Theme::getTemplate('partials/footer'); ?>

View File

@@ -1,3 +1,3 @@
<?php Theme::getTemplate('tail'); ?>
<?php Theme::getTemplate('partials/tail'); ?>
</body>
</html>

View File

@@ -5,14 +5,19 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../../../favicon.ico">
<title>Cover Template for Bootstrap</title>
<?php Action::run('theme_meta'); ?>
<link rel="shortcut icon" href="<?php echo Url::getBase(); ?>/favicon.ico">
<title><?php echo Config::get('site.title'); ?> | <?php echo Pages::getCurrentPage()['title']; ?></title>
<!-- Bootstrap core CSS -->
<link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
<link href="<?php echo Url::getBase(); ?>/site/themes/<?php echo Config::get('site.theme'); ?>/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="cover.css" rel="stylesheet">
<link href="<?php echo Url::getBase(); ?>/site/themes/<?php echo Config::get('site.theme'); ?>/assets/css/theme.css" rel="stylesheet">
<?php Action::run('theme_header'); ?>
</head>
<body>
<?php Theme::getTemplate('partials/navigation'); ?>

View File

@@ -1,5 +1,3 @@
{* Bootstrap core JavaScript *}
{* Placed at the end of the document so the pages load faster *}
<script src="<?php echo Url::getBase(); ?>/themes/<?php echo Config::get('site.theme'); ?>/bower_components/jquery/dist/jquery.min.js"></script>
<script src="<?php echo Url::getBase(); ?>}/themes/<?php echo Config::get('site.theme'); ?>/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="<?php echo Url::getBase(); ?>/site-katerinasitnikova/themes/<?php echo Config::get('site.theme'); ?>/node_modules/jquery/dist/jquery.slim.min.js"></script>
<script src="<?php echo Url::getBase(); ?>/site-katerinasitnikova/themes/<?php echo Config::get('site.theme'); ?>/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<?php Action::run('theme_footer'); ?>