1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-17 18:36:50 +02:00

#431 initial commit for MONSTRA 4

This commit is contained in:
Awilum
2018-02-27 23:31:11 +03:00
parent 9a19078870
commit acfa870de9
46 changed files with 1760 additions and 0 deletions

0
site/accounts/.gitkeep Executable file
View File

0
site/cache/.gitkeep vendored Executable file
View File

View File

@@ -0,0 +1,3 @@
0
a:7:{s:5:"title";s:9:"Error 404";s:6:"robots";s:16:"noindex,nofollow";s:3:"url";s:33:"http://localhost:8888/monstra/404";s:7:"content";s:95:"<h2>Error 404</h2>
<p>We're sorry but the page you are looking for doesn't appear to exist!</p>";s:4:"slug";s:3:"404";s:8:"keywords";N;s:11:"description";s:54:"Modern Open Source Flat-File Content Management System";}

View File

@@ -0,0 +1,2 @@
0
a:6:{s:3:"url";s:33:"http://localhost:8888/monstra/404";s:7:"content";s:0:"";s:4:"slug";s:3:"404";s:5:"title";N;s:8:"keywords";N;s:11:"description";N;}

View File

@@ -0,0 +1,19 @@
0
a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:64:"Monstra is a simple and light-weighted Content Management System";s:8:"template";s:5:"index";s:3:"url";s:29:"http://localhost:8888/monstra";s:7:"content";s:823:"<h2>Monstra is succesfully installed!</h2>
<p>You can start editing the content and customising your site.</p>
<h3>Edit this Page</h3>
<p>To edit this page, simply go to the folder you installed Monstra, and then browse to the <code>/storage/pages/</code> folder and open the <code>index.md</code> file in your editor.</p>
<h3>Create a New page</h3>
<p>Creating a new page is very simple in Monstra. </p>
<ol>
<li>
<p>Launch your text editor and paste this sample text:</p>
<pre><code>---
title: My New Page
---
My new page body.</code></pre>
</li>
<li>Save this file in the <code>/storage/pages/</code> folder as <code>my-new-page.md</code> and its will be available by this url: <a href="http://yoursite/my-new-page">http://yoursite/my-new-page</a></li>
</ol>
<p>That is it! </p>
<p>Block Monstra-docs is not found!</p>";s:4:"slug";s:5:"index";s:8:"keywords";N;}

28
site/config/site.yml Executable file
View File

@@ -0,0 +1,28 @@
# Site configuration
title: 'Monstra'
description: 'Modern Open Source Flat-File Content Management System'
author:
email: ''
# System Configuration
timezone: UTC
charset: UTF-8
theme: default
plugins:
pages:
flush_cache: false
errors:
display: false
cache:
enabled: false
prefix: Monstra
driver: auto
lifetime: 604800

0
site/plugins/.gitkeep Executable file
View File

View File

@@ -0,0 +1 @@
Check **Monstra** documentation for more details: http://monstra.org/documentation

7
site/storage/pages/404.md Executable file
View File

@@ -0,0 +1,7 @@
---
title: Error 404
robots: noindex,nofollow
---
## Error 404
We're sorry but the page you are looking for doesn't appear to exist!

15
site/storage/pages/contact.md Executable file
View File

@@ -0,0 +1,15 @@
---
title: Contact
description: Monstra is a simple and light-weighted Content Management System
---
## Stay in touch
[Monstra official site](http://monstra.org/)
[Monstra forum](http://forum.Monstra.org/)
[Monstra on Github](https://github.com/Monstra/Monstra)
[Monstra Gitter chat room](https://gitter.im/Monstra/Monstra)
## Follow us on Twitter
Follow Monstra on Twitter [@Monstra_cms](https://twitter.com/Monstra_cms)

28
site/storage/pages/index.md Executable file
View File

@@ -0,0 +1,28 @@
---
title: Welcome
description: Monstra is a simple and light-weighted Content Management System
template: index
---
## Monstra is succesfully installed!
You can start editing the content and customising your site.
### Edit this Page
To edit this page, simply go to the folder you installed Monstra, and then browse to the `/storage/pages/` folder and open the `index.md` file in your editor.
### Create a New page
Creating a new page is very simple in Monstra.
1. Launch your text editor and paste this sample text:
```
---
title: My New Page
---
My new page body.
```
2. Save this file in the `/storage/pages/` folder as `my-new-page.md` and its will be available by this url: http://yoursite/my-new-page
That is it!
{block name=Monstra-docs}

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

13
site/themes/default/default.yml Executable file
View File

@@ -0,0 +1,13 @@
name: Default
version: 1.0.0
description: Default Monstra theme
author:
name: Sergey Romanenko
email: awilum@msn.com
url: https://github.com/Awilum
homepage: https://github.com/Monstra/Monstra
bugs: https://github.com/Monstra/Monstra/issues
license: MIT
# Theme settings
enabled: true

3
site/themes/default/index.php Executable file
View File

@@ -0,0 +1,3 @@
<?php Theme::getTemplate('partials/head'); ?>
index
<?php Theme::getTemplate('partials/footer'); ?>

View File

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

View File

@@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<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>
<!-- Bootstrap core CSS -->
<link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="cover.css" rel="stylesheet">
</head>
<body>

View File

@@ -0,0 +1 @@
navigation here

View File

@@ -0,0 +1,5 @@
{* 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>
<?php Action::run('theme_footer'); ?>