diff --git a/.htaccess b/.htaccess index 6881acb0..3e6dba6c 100755 --- a/.htaccess +++ b/.htaccess @@ -12,7 +12,7 @@ RewriteEngine On -RewriteBase / +RewriteBase /flextype/ ## Begin - Exploits # If you experience problems on your site block out the operations listed below diff --git a/flextype/Content.php b/flextype/Content.php index 6d36f164..f114599a 100755 --- a/flextype/Content.php +++ b/flextype/Content.php @@ -69,6 +69,17 @@ class Content * @return void */ protected static function init() : void + { + Content::processCurrentPage(); + } + + /** + * Process Current Pages + * + * @access protected + * @return void + */ + protected static function processCurrentPage() : void { // Event: The page is not processed and not sent to the display. Event::dispatch('onPageBeforeRender'); diff --git a/site/cache/doctrine/15/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b31373032633965663033303639333664336365613237383539646430306438305d5b315d.doctrinecache.data b/site/cache/doctrine/15/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b31373032633965663033303639333664336365613237383539646430306438305d5b315d.doctrinecache.data new file mode 100644 index 00000000..67d689f8 --- /dev/null +++ b/site/cache/doctrine/15/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b31373032633965663033303639333664336365613237383539646430306438305d5b315d.doctrinecache.data @@ -0,0 +1,22 @@ +1527756069 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 24 2018 08:41:03.";s:7:"content";s:996:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/3a/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64623339653164653764373333316564656137303663363332316266633933365d5b315d.doctrinecache.data b/site/cache/doctrine/3a/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64623339653164653764373333316564656137303663363332316266633933365d5b315d.doctrinecache.data new file mode 100644 index 00000000..383e8ae0 --- /dev/null +++ b/site/cache/doctrine/3a/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64623339653164653764373333316564656137303663363332316266633933365d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527755877 +a:1:{s:5:"pixel";a:12:{s:4:"name";s:5:"Pixel";s:7:"version";s:5:"1.0.0";s:11:"description";s:54:"Pixel plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:41:"https://github.com/flextype-plugins/pixel";s:4:"bugs";s:48:"https://github.com/flextype-plugins/pixel/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:8:"category";s:6:"sports";s:4:"text";s:0:"";}} \ No newline at end of file diff --git a/site/cache/doctrine/46/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b37643437383636653535333038356139663234613062376164636130373430325d5b315d.doctrinecache.data b/site/cache/doctrine/46/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b37643437383636653535333038356139663234613062376164636130373430325d5b315d.doctrinecache.data new file mode 100644 index 00000000..2f97a538 --- /dev/null +++ b/site/cache/doctrine/46/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b37643437383636653535333038356139663234613062376164636130373430325d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527850082 +a:1:{s:9:"imgholder";a:16:{s:4:"name";s:9:"Imgholder";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Imgholder plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:45:"https://github.com/flextype-plugins/imgholder";s:4:"bugs";s:52:"https://github.com/flextype-plugins/imgholder/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:4:"text";s:0:"";s:8:"bg_color";s:5:"black";s:10:"text_color";s:5:"white";s:3:"ext";s:3:"png";s:9:"font_name";s:6:"roboto";s:9:"font_size";i:50;}} \ No newline at end of file diff --git a/site/cache/doctrine/4a/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61363565343738366537303834633366386563353134613765396364623564645d5b315d.doctrinecache.data b/site/cache/doctrine/4a/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61363565343738366537303834633366386563353134613765396364623564645d5b315d.doctrinecache.data new file mode 100644 index 00000000..73211317 --- /dev/null +++ b/site/cache/doctrine/4a/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61363565343738366537303834633366386563353134613765396364623564645d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527707297 +a:1:{s:11:"maintenance";a:9:{s:4:"name";s:7:"Sitemap";s:7:"version";s:5:"1.1.0";s:11:"description";s:44:"Provide automatically generated XML sitemap.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:43:"https://github.com/flextype-plugins/sitemap";s:4:"bugs";s:50:"https://github.com/flextype-plugins/sitemap/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:9:"activated";b:1;}} \ No newline at end of file diff --git a/site/cache/doctrine/4e/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61376333393664336539336163303364313065666266316135616531333362665d5b315d.doctrinecache.data b/site/cache/doctrine/4e/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61376333393664336539336163303364313065666266316135616531333362665d5b315d.doctrinecache.data new file mode 100644 index 00000000..08a2422f --- /dev/null +++ b/site/cache/doctrine/4e/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61376333393664336539336163303364313065666266316135616531333362665d5b315d.doctrinecache.data @@ -0,0 +1,21 @@ +1527849353 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 25 2018 10:35:53.";s:7:"content";s:919:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/52/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b356562386562313464626639633062396465323633646536333735636536373366386137626537613166626165373863613465303933363264383436303734335d5b315d.doctrinecache.data b/site/cache/doctrine/52/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b356562386562313464626639633062396465323633646536333735636536373366386137626537613166626165373863613465303933363264383436303734335d5b315d.doctrinecache.data new file mode 100644 index 00000000..ad0199ac --- /dev/null +++ b/site/cache/doctrine/52/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b356562386562313464626639633062396465323633646536333735636536373366386137626537613166626165373863613465303933363264383436303734335d5b315d.doctrinecache.data @@ -0,0 +1,42 @@ +1527863732 +a:2:{i:0;a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:37:"http://localhost:8888/flextype/blog/1";s:4:"slug";s:6:"blog/1";s:4:"date";s:21:"May 25 2018 10:51:30.";s:7:"content";s:1042:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";}i:2;a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:37:"http://localhost:8888/flextype/blog/2";s:4:"slug";s:6:"blog/2";s:4:"date";s:21:"May 25 2018 10:51:30.";s:7:"content";s:1042:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";}} \ No newline at end of file diff --git a/site/cache/doctrine/56/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61303630336139346263663731623638663238393530653939633231356663635d5b315d.doctrinecache.data b/site/cache/doctrine/56/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61303630336139346263663731623638663238393530653939633231356663635d5b315d.doctrinecache.data new file mode 100644 index 00000000..88f73419 --- /dev/null +++ b/site/cache/doctrine/56/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b61303630336139346263663731623638663238393530653939633231356663635d5b315d.doctrinecache.data @@ -0,0 +1,22 @@ +1527756005 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 24 2018 08:39:58.";s:7:"content";s:996:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/59/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b33353166656133313937663865343339363466646530333636373130613137625d5b315d.doctrinecache.data b/site/cache/doctrine/59/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b33353166656133313937663865343339363466646530333636373130613137625d5b315d.doctrinecache.data new file mode 100644 index 00000000..35bb1813 --- /dev/null +++ b/site/cache/doctrine/59/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b33353166656133313937663865343339363466646530333636373130613137625d5b315d.doctrinecache.data @@ -0,0 +1,20 @@ +1527755887 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 24 2018 08:38:06.";s:7:"content";s:851:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/6b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b32623130613834333733303138633635663634666134363862363032396536315d5b315d.doctrinecache.data b/site/cache/doctrine/6b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b32623130613834333733303138633635663634666134363862363032396536315d5b315d.doctrinecache.data new file mode 100644 index 00000000..4c13b578 --- /dev/null +++ b/site/cache/doctrine/6b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b32623130613834333733303138633635663634666134363862363032396536315d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527713213 +a:1:{s:11:"maintenance";a:12:{s:4:"name";s:11:"Maintenance";s:7:"version";s:5:"1.0.0";s:11:"description";s:66:"Maintenance plugin allow you to close the website for maintenance.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:47:"https://github.com/flextype-plugins/maintenance";s:4:"bugs";s:54:"https://github.com/flextype-plugins/maintenance/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:9:"activated";b:1;s:9:"msg_title";s:22:"Maintenance mode is on";s:15:"msg_description";s:30:"Website will be available soon";s:6:"bg_img";s:145:"https://drscdn.500px.org/photo/224178849/m%3D900/v2?user_id=688458&webp=true&sig=eb8fb384b2a66f8febbaf8d5b57a1e14e652f8a70e879df14e1b3369974d3332";}} \ No newline at end of file diff --git a/site/cache/doctrine/6c/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b66613162343762373364383338636230313862323634396636363762636564625d5b315d.doctrinecache.data b/site/cache/doctrine/6c/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b66613162343762373364383338636230313862323634396636363762636564625d5b315d.doctrinecache.data new file mode 100644 index 00000000..23fe4b39 --- /dev/null +++ b/site/cache/doctrine/6c/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b66613162343762373364383338636230313862323634396636363762636564625d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527752930 +a:1:{s:5:"pixel";a:12:{s:4:"name";s:11:"Maintenance";s:7:"version";s:5:"1.0.0";s:11:"description";s:66:"Maintenance plugin allow you to close the website for maintenance.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:47:"https://github.com/flextype-plugins/maintenance";s:4:"bugs";s:54:"https://github.com/flextype-plugins/maintenance/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:8:"category";s:6:"sports";s:4:"text";s:0:"";}} \ No newline at end of file diff --git a/site/cache/doctrine/7b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30363637333836303033386330356361646530336466376563666438616264625d5b315d.doctrinecache.data b/site/cache/doctrine/7b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30363637333836303033386330356361646530336466376563666438616264625d5b315d.doctrinecache.data new file mode 100644 index 00000000..60095178 --- /dev/null +++ b/site/cache/doctrine/7b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30363637333836303033386330356361646530336466376563666438616264625d5b315d.doctrinecache.data @@ -0,0 +1,23 @@ +1527755018 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 24 2018 08:23:37.";s:7:"content";s:962:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. +

    Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page

    +

    http://lorempixel.com/g/400/200/sports/test +That is it!

    +
  4. +
";} \ No newline at end of file diff --git a/site/cache/doctrine/7d/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b36303737633964356137663862343662343962316363363865343231343035625d5b315d.doctrinecache.data b/site/cache/doctrine/7d/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b36303737633964356137663862343662343962316363363865343231343035625d5b315d.doctrinecache.data new file mode 100644 index 00000000..41bb5a62 --- /dev/null +++ b/site/cache/doctrine/7d/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b36303737633964356137663862343662343962316363363865343231343035625d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527712002 +a:1:{s:11:"maintenance";a:9:{s:4:"name";s:11:"Maintenance";s:7:"version";s:5:"1.0.0";s:11:"description";s:66:"Maintenance plugin allow you to close the website for maintenance.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:47:"https://github.com/flextype-plugins/maintenance";s:4:"bugs";s:54:"https://github.com/flextype-plugins/maintenance/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:9:"activated";b:1;}} \ No newline at end of file diff --git a/site/cache/doctrine/7e/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30633836316266663834633939393162333638323862366331303361353161385d5b315d.doctrinecache.data b/site/cache/doctrine/7e/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30633836316266663834633939393162333638323862366331303361353161385d5b315d.doctrinecache.data new file mode 100644 index 00000000..a4aaebfb --- /dev/null +++ b/site/cache/doctrine/7e/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30633836316266663834633939393162333638323862366331303361353161385d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527707295 +a:1:{s:11:"maintenance";a:9:{s:4:"name";s:7:"Sitemap";s:7:"version";s:5:"1.1.0";s:11:"description";s:44:"Provide automatically generated XML sitemap.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:43:"https://github.com/flextype-plugins/sitemap";s:4:"bugs";s:50:"https://github.com/flextype-plugins/sitemap/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:9:"activated";b:0;}} \ No newline at end of file diff --git a/site/cache/doctrine/85/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64643936663139306465633464613563653936393864346135383139613363335d5b315d.doctrinecache.data b/site/cache/doctrine/85/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64643936663139306465633464613563653936393864346135383139613363335d5b315d.doctrinecache.data new file mode 100644 index 00000000..cf246d70 --- /dev/null +++ b/site/cache/doctrine/85/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64643936663139306465633464613563653936393864346135383139613363335d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527850076 +a:1:{s:9:"imgholder";a:16:{s:4:"name";s:9:"Imgholder";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Imgholder plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:45:"https://github.com/flextype-plugins/imgholder";s:4:"bugs";s:52:"https://github.com/flextype-plugins/imgholder/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:4:"text";s:0:"";s:8:"bg_color";s:5:"black";s:10:"text_color";s:5:"white";s:3:"ext";s:3:"png";s:9:"font_name";s:6:"roboto";s:9:"font_size";i:20;}} \ No newline at end of file diff --git a/site/cache/doctrine/96/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b36633233653231613061663338616265373264336263363763346465363562645d5b315d.doctrinecache.data b/site/cache/doctrine/96/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b36633233653231613061663338616265373264336263363763346465363562645d5b315d.doctrinecache.data new file mode 100644 index 00000000..11a28649 --- /dev/null +++ b/site/cache/doctrine/96/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b36633233653231613061663338616265373264336263363763346465363562645d5b315d.doctrinecache.data @@ -0,0 +1,20 @@ +1528065036 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 27 2018 22:22:19.";s:7:"content";s:851:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/9b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b35656166353961656139303863313933376362343432353335636564616436635d5b315d.doctrinecache.data b/site/cache/doctrine/9b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b35656166353961656139303863313933376362343432353335636564616436635d5b315d.doctrinecache.data new file mode 100644 index 00000000..1b7893ad --- /dev/null +++ b/site/cache/doctrine/9b/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b35656166353961656139303863313933376362343432353335636564616436635d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527706391 +a:8:{s:4:"name";s:6:"Simple";s:7:"version";s:5:"1.0.0";s:11:"description";s:25:"Simple theme for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:25:"https://github.com/Awilum";}s:8:"homepage";s:36:"https://github.com/flextype/flextype";s:4:"bugs";s:43:"https://github.com/flextype/flextype/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;} \ No newline at end of file diff --git a/site/cache/doctrine/a2/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39343461373661383364353435363231333938393331306235346537346463305d5b315d.doctrinecache.data b/site/cache/doctrine/a2/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39343461373661383364353435363231333938393331306235346537346463305d5b315d.doctrinecache.data new file mode 100644 index 00000000..21fa9640 --- /dev/null +++ b/site/cache/doctrine/a2/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39343461373661383364353435363231333938393331306235346537346463305d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1528053393 +a:3:{s:9:"imgholder";a:16:{s:4:"name";s:9:"Imgholder";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Imgholder plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:45:"https://github.com/flextype-plugins/imgholder";s:4:"bugs";s:52:"https://github.com/flextype-plugins/imgholder/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:4:"text";s:9:"Imgholder";s:8:"bg_color";s:5:"black";s:10:"text_color";s:5:"white";s:3:"ext";s:3:"png";s:9:"font_name";s:6:"roboto";s:9:"font_size";i:50;}s:4:"feed";a:8:{s:4:"name";s:7:"Sitemap";s:7:"version";s:5:"1.0.0";s:11:"description";s:44:"Provide automatically generated XML sitemap.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:43:"https://github.com/flextype-plugins/sitemap";s:4:"bugs";s:50:"https://github.com/flextype-plugins/sitemap/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;}s:6:"robots";a:8:{s:4:"name";s:6:"Robots";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Robots plugin to generate a robots.txt file for your site.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:42:"https://github.com/flextype-plugins/robots";s:4:"bugs";s:49:"https://github.com/flextype-plugins/robots/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;}} \ No newline at end of file diff --git a/site/cache/doctrine/a5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b63313763646339353937373164313066636639353365363237393931393635625d5b315d.doctrinecache.data b/site/cache/doctrine/a5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b63313763646339353937373164313066636639353365363237393931393635625d5b315d.doctrinecache.data new file mode 100644 index 00000000..4a60379f --- /dev/null +++ b/site/cache/doctrine/a5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b63313763646339353937373164313066636639353365363237393931393635625d5b315d.doctrinecache.data @@ -0,0 +1,23 @@ +1527850284 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 25 2018 10:51:24.";s:7:"content";s:1209:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

https://imgholder.ru/400x200/black/white.png&text=&font=roboto&fz=50 +Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/b2/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b34326534333137663538643633323964636437356337666366336564396264355d5b315d.doctrinecache.data b/site/cache/doctrine/b2/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b34326534333137663538643633323964636437356337666366336564396264355d5b315d.doctrinecache.data new file mode 100644 index 00000000..607a7b2f --- /dev/null +++ b/site/cache/doctrine/b2/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b34326534333137663538643633323964636437356337666366336564396264355d5b315d.doctrinecache.data @@ -0,0 +1,20 @@ +1527706391 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 22 2018 09:09:46.";s:7:"content";s:851:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/bf/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64393935313065326161626631303636303430626135653533356336633666305d5b315d.doctrinecache.data b/site/cache/doctrine/bf/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64393935313065326161626631303636303430626135653533356336633666305d5b315d.doctrinecache.data new file mode 100644 index 00000000..dfea476a --- /dev/null +++ b/site/cache/doctrine/bf/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64393935313065326161626631303636303430626135653533356336633666305d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527849203 +a:1:{s:9:"imgholder";a:16:{s:4:"name";s:9:"Imgholder";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Imgholder plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:45:"https://github.com/flextype-plugins/imgholder";s:4:"bugs";s:52:"https://github.com/flextype-plugins/imgholder/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:4:"text";s:0:"";s:8:"bg_color";s:5:"black";s:10:"text_color";s:5:"white";s:3:"ext";s:3:"png";s:9:"font_name";s:6:"roboto";s:9:"font_size";i:12;}} \ No newline at end of file diff --git a/site/cache/doctrine/c1/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b65386538626362376266666133623132303761316666383765343035353739615d5b315d.doctrinecache.data b/site/cache/doctrine/c1/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b65386538626362376266666133623132303761316666383765343035353739615d5b315d.doctrinecache.data new file mode 100644 index 00000000..020e15d7 --- /dev/null +++ b/site/cache/doctrine/c1/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b65386538626362376266666133623132303761316666383765343035353739615d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527752801 +a:1:{s:5:"pixel";a:12:{s:4:"name";s:11:"Maintenance";s:7:"version";s:5:"1.0.0";s:11:"description";s:66:"Maintenance plugin allow you to close the website for maintenance.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:47:"https://github.com/flextype-plugins/maintenance";s:4:"bugs";s:54:"https://github.com/flextype-plugins/maintenance/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:9:"activated";b:1;s:9:"msg_title";s:22:"Maintenance mode is on";s:15:"msg_description";s:30:"Website will be available soon";s:6:"bg_img";s:145:"https://drscdn.500px.org/photo/224178849/m%3D900/v2?user_id=688458&webp=true&sig=eb8fb384b2a66f8febbaf8d5b57a1e14e652f8a70e879df14e1b3369974d3332";}} \ No newline at end of file diff --git a/site/cache/doctrine/c5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b33613935663034303866636562336563633734396332353936386339343264655d5b315d.doctrinecache.data b/site/cache/doctrine/c5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b33613935663034303866636562336563633734396332353936386339343264655d5b315d.doctrinecache.data new file mode 100644 index 00000000..73f8e929 --- /dev/null +++ b/site/cache/doctrine/c5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b33613935663034303866636562336563633734396332353936386339343264655d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527850268 +a:1:{s:9:"imgholder";a:16:{s:4:"name";s:9:"Imgholder";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Imgholder plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:45:"https://github.com/flextype-plugins/imgholder";s:4:"bugs";s:52:"https://github.com/flextype-plugins/imgholder/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:4:"text";s:0:"";s:8:"bg_color";s:5:"black";s:10:"text_color";s:5:"white";s:3:"ext";s:3:"png";s:9:"font_name";s:6:"roboto";s:9:"font_size";i:50;}} \ No newline at end of file diff --git a/site/cache/doctrine/d4/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64333333376465633064363963633466366336373834373834316333393732325d5b315d.doctrinecache.data b/site/cache/doctrine/d4/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64333333376465633064363963633466366336373834373834316333393732325d5b315d.doctrinecache.data new file mode 100644 index 00000000..b7fc05b1 --- /dev/null +++ b/site/cache/doctrine/d4/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b64333333376465633064363963633466366336373834373834316333393732325d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527859099 +a:2:{s:9:"imgholder";a:16:{s:4:"name";s:9:"Imgholder";s:7:"version";s:5:"1.0.0";s:11:"description";s:58:"Imgholder plugin to create placeholder images for Flextype";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:45:"https://github.com/flextype-plugins/imgholder";s:4:"bugs";s:52:"https://github.com/flextype-plugins/imgholder/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:5:"width";i:400;s:6:"height";i:200;s:4:"text";s:9:"Imgholder";s:8:"bg_color";s:5:"black";s:10:"text_color";s:5:"white";s:3:"ext";s:3:"png";s:9:"font_name";s:6:"roboto";s:9:"font_size";i:50;}s:4:"feed";a:8:{s:4:"name";s:7:"Sitemap";s:7:"version";s:5:"1.0.0";s:11:"description";s:44:"Provide automatically generated XML sitemap.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:43:"https://github.com/flextype-plugins/sitemap";s:4:"bugs";s:50:"https://github.com/flextype-plugins/sitemap/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;}} \ No newline at end of file diff --git a/site/cache/doctrine/d5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b5d5b315d.doctrinecache.data b/site/cache/doctrine/d5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b5d5b315d.doctrinecache.data new file mode 100644 index 00000000..2e85a265 --- /dev/null +++ b/site/cache/doctrine/d5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b5d5b315d.doctrinecache.data @@ -0,0 +1,3 @@ +1527859175 +a:6:{s:5:"title";s:9:"Error 404";s:6:"robots";s:16:"noindex,nofollow";s:3:"url";s:34:"http://localhost:8888/flextype/404";s:4:"slug";s:3:"404";s:4:"date";s:21:"May 05 2018 10:06:26.";s:7:"content";s:95:"

Error 404

+

We're sorry but the page you are looking for doesn't appear to exist!

";} \ No newline at end of file diff --git a/site/cache/doctrine/da/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b31626438316264626538636463323335333630383033383165336633653939635d5b315d.doctrinecache.data b/site/cache/doctrine/da/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b31626438316264626538636463323335333630383033383165336633653939635d5b315d.doctrinecache.data new file mode 100644 index 00000000..e86f2140 --- /dev/null +++ b/site/cache/doctrine/da/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b31626438316264626538636463323335333630383033383165336633653939635d5b315d.doctrinecache.data @@ -0,0 +1,22 @@ +1527849356 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 25 2018 10:35:56.";s:7:"content";s:1033:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/e6/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b37613636303832386261383063333466346133373536633563666664663233305d5b315d.doctrinecache.data b/site/cache/doctrine/e6/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b37613636303832386261383063333466346133373536633563666664663233305d5b315d.doctrinecache.data new file mode 100644 index 00000000..8be232ed --- /dev/null +++ b/site/cache/doctrine/e6/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b37613636303832386261383063333466346133373536633563666664663233305d5b315d.doctrinecache.data @@ -0,0 +1,21 @@ +1527755877 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 24 2018 08:37:50.";s:7:"content";s:928:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/e9/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b65383937626436383537636366393634323865346439343465363966353331375d5b315d.doctrinecache.data b/site/cache/doctrine/e9/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b65383937626436383537636366393634323865346439343465363966353331375d5b315d.doctrinecache.data new file mode 100644 index 00000000..fdec9e1e --- /dev/null +++ b/site/cache/doctrine/e9/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b65383937626436383537636366393634323865346439343465363966353331375d5b315d.doctrinecache.data @@ -0,0 +1,22 @@ +1527859175 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:35:"http://localhost:8888/flextype/blog";s:4:"slug";s:4:"blog";s:4:"date";s:21:"May 25 2018 10:51:30.";s:7:"content";s:1042:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/ed/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b63336266663163656161333762373030366263613239653261653430666163315d5b315d.doctrinecache.data b/site/cache/doctrine/ed/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b63336266663163656161333762373030366263613239653261653430666163315d5b315d.doctrinecache.data new file mode 100644 index 00000000..8e71f3c2 --- /dev/null +++ b/site/cache/doctrine/ed/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b63336266663163656161333762373030366263613239653261653430666163315d5b315d.doctrinecache.data @@ -0,0 +1,22 @@ +1527850291 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 25 2018 10:51:30.";s:7:"content";s:1033:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/f5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30653437383863373663326665653666626265643230653365356362663539325d5b315d.doctrinecache.data b/site/cache/doctrine/f5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30653437383863373663326665653666626265643230653365356362663539325d5b315d.doctrinecache.data new file mode 100644 index 00000000..72e5aa87 --- /dev/null +++ b/site/cache/doctrine/f5/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b30653437383863373663326665653666626265643230653365356362663539325d5b315d.doctrinecache.data @@ -0,0 +1,21 @@ +1527755894 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 24 2018 08:38:11.";s:7:"content";s:928:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/f8/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39373466316239366339643161336430616634353164653436333766626331315d5b315d.doctrinecache.data b/site/cache/doctrine/f8/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39373466316239366339643161336430616634353164653436333766626331315d5b315d.doctrinecache.data new file mode 100644 index 00000000..29aa6899 --- /dev/null +++ b/site/cache/doctrine/f8/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39373466316239366339643161336430616634353164653436333766626331315d5b315d.doctrinecache.data @@ -0,0 +1,22 @@ +1527849308 +a:7:{s:5:"title";s:7:"Welcome";s:11:"description";s:65:"Flextype is a simple and light-weighted Content Management System";s:8:"template";s:7:"default";s:3:"url";s:30:"http://localhost:8888/flextype";s:4:"slug";s:0:"";s:4:"date";s:21:"May 25 2018 10:33:14.";s:7:"content";s:1033:"

Flextype 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 Flextype, and then browse to the /site/pages/home/ folder and open the page.md file in your editor.

+

Create a New page

+

Creating a new page is very simple in Flextype.

+
    +
  1. +

    Launch your text editor and paste this sample text:

    +
    ---
    +title: My New Page
    +---
    +# My New Page!
    +
    +This is the body of **My New Page**
    +
  2. +
  3. Save this file in the /site/pages/my-new-page/ folder as page.md and its will be available by this url: http://localhost:8888/flextype/my-new-page
  4. +
+Image +

Image

+

That is it!

";} \ No newline at end of file diff --git a/site/cache/doctrine/fd/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39613764313438623433343131396132306333656561316364313062353134665d5b315d.doctrinecache.data b/site/cache/doctrine/fd/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39613764313438623433343131396132306333656561316364313062353134665d5b315d.doctrinecache.data new file mode 100644 index 00000000..c8b9c736 --- /dev/null +++ b/site/cache/doctrine/fd/666c6578747970652d30656663323035303064663565656363323030346137383132666532336631335b39613764313438623433343131396132306333656561316364313062353134665d5b315d.doctrinecache.data @@ -0,0 +1,2 @@ +1527707251 +a:1:{s:11:"maintenance";a:9:{s:4:"name";s:7:"Sitemap";s:7:"version";s:5:"1.1.0";s:11:"description";s:44:"Provide automatically generated XML sitemap.";s:6:"author";a:3:{s:4:"name";s:16:"Sergey Romanenko";s:5:"email";s:16:"awilum@yandex.ru";s:3:"url";s:19:"http://flextype.org";}s:8:"homepage";s:43:"https://github.com/flextype-plugins/sitemap";s:4:"bugs";s:50:"https://github.com/flextype-plugins/sitemap/issues";s:7:"license";s:3:"MIT";s:7:"enabled";b:1;s:9:"activated";b:1;}} \ No newline at end of file diff --git a/site/logs/2018_05_23.log b/site/logs/2018_05_23.log new file mode 100644 index 00000000..112a12c8 --- /dev/null +++ b/site/logs/2018_05_23.log @@ -0,0 +1,6 @@ +[23-May-2018 19:07:31] Error: Class 'Flextype\View' not found in /Applications/MAMP/htdocs/flextype/site/plugins/maintenance/maintenance.php at line 22 +[23-May-2018 19:10:04] Error: Class 'Flextype\Http' not found in /Applications/MAMP/htdocs/flextype/site/plugins/maintenance/maintenance.php at line 20 +[23-May-2018 20:43:46] Symfony\Component\Yaml\Exception\ParseException: Duplicate key "description" detected at line 16 (near "description: "Website will be available soon""). in /Applications/MAMP/htdocs/flextype/vendor/symfony/yaml/Parser.php at line 343 +[23-May-2018 20:45:06] Symfony\Component\Yaml\Exception\ParseException: Duplicate key "description" detected at line 16 (near "description: "Website will be available soon""). in /Applications/MAMP/htdocs/flextype/vendor/symfony/yaml/Parser.php at line 343 +[23-May-2018 20:45:46] Symfony\Component\Yaml\Exception\ParseException: Duplicate key "description" detected at line 16 (near "description: "Website will be available soon""). in /Applications/MAMP/htdocs/flextype/vendor/symfony/yaml/Parser.php at line 343 +[23-May-2018 20:46:53] RuntimeException: No item "plguins.maintenance.bg_img" exists in the registry. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/registry/Registry.php at line 71 diff --git a/site/logs/2018_05_24.log b/site/logs/2018_05_24.log new file mode 100644 index 00000000..d8f874d5 --- /dev/null +++ b/site/logs/2018_05_24.log @@ -0,0 +1,6 @@ +[24-May-2018 07:46:41] Error: Class 'Flextype\Shortcodes' not found in /Applications/MAMP/htdocs/flextype/site/plugins/pixel/pixel.php at line 23 +[24-May-2018 07:46:55] RuntimeException: No item "plugins.pixel.width" exists in the registry. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/registry/Registry.php at line 71 +[24-May-2018 07:48:18] RuntimeException: No item "plugins.pixel.width" exists in the registry. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/registry/Registry.php at line 71 +[24-May-2018 07:48:20] RuntimeException: No item "plugins.pixel.width" exists in the registry. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/registry/Registry.php at line 71 +[24-May-2018 07:51:24] TypeError: Return value of Flextype\Content::shortcode() must be an instance of Thunder\Shortcode\ShortcodeFacade, null returned in /Applications/MAMP/htdocs/flextype/flextype/Content.php at line 342 +[24-May-2018 08:23:08] TypeError: Argument 1 passed to Flextype\pixel() must be of the type string, null given, called in /Applications/MAMP/htdocs/flextype/site/plugins/pixel/pixel.php on line 28 in /Applications/MAMP/htdocs/flextype/site/plugins/pixel/pixel.php at line 33 diff --git a/site/logs/2018_05_25.log b/site/logs/2018_05_25.log new file mode 100644 index 00000000..867d6570 --- /dev/null +++ b/site/logs/2018_05_25.log @@ -0,0 +1,28 @@ +[25-May-2018 10:33:23] ParseError: syntax error, unexpected ')' in /Applications/MAMP/htdocs/flextype/site/plugins/imgholder/imgholder.php at line 32 +[25-May-2018 10:33:39] ErrorException: Compile Error: Redefinition of parameter $text_color in /Applications/MAMP/htdocs/flextype/site/plugins/imgholder/imgholder.php at line 46 +[25-May-2018 10:34:39] TypeError: Argument 1 passed to Flextype\imgholder() must be of the type string, null given, called in /Applications/MAMP/htdocs/flextype/site/plugins/imgholder/imgholder.php on line 31 in /Applications/MAMP/htdocs/flextype/site/plugins/imgholder/imgholder.php at line 46 +[25-May-2018 10:35:08] Error: Call to undefined function Flextype\pixel() in /Applications/MAMP/htdocs/flextype/site/themes/simple/views/templates/default.php at line 4 +[25-May-2018 13:31:48] ParseError: syntax error, unexpected '$rss_uri' (T_VARIABLE) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/feed.php at line 20 +[25-May-2018 13:31:55] Error: Class 'Flextype\Pages' not found in /Applications/MAMP/htdocs/flextype/site/plugins/feed/feed.php at line 31 +[25-May-2018 14:30:41] ErrorException: Notice: Undefined variable: uri_string in /Applications/MAMP/htdocs/flextype/site/plugins/feed/feed.php at line 28 +[25-May-2018 14:30:49] ErrorException: Notice: Undefined variable: uri_string in /Applications/MAMP/htdocs/flextype/site/plugins/feed/feed.php at line 28 +[25-May-2018 14:34:32] TypeError: Return value of Flextype\Content::shortcode() must be an instance of Thunder\Shortcode\ShortcodeFacade, null returned in /Applications/MAMP/htdocs/flextype/flextype/Content.php at line 342 +[25-May-2018 14:35:32] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 1 +[25-May-2018 14:39:06] RuntimeException: Flextype\Component\View\View::__construct(): The '/Applications/MAMP/htdocs/flextype/site/plugins/maintenance/views/templates/rss' view does not exist. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/view/View.php at line 74 +[25-May-2018 14:39:18] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 1 +[25-May-2018 14:40:22] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 2 +[25-May-2018 14:40:26] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 1 +[25-May-2018 14:42:29] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 3 +[25-May-2018 14:44:25] ErrorException: Fatal Error: Method Flextype\Component\View\View::__toString() must not throw an exception, caught ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/feed.php at line 0 +[25-May-2018 14:45:07] ErrorException: Fatal Error: Method Flextype\Component\View\View::__toString() must not throw an exception, caught ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/feed.php at line 0 +[25-May-2018 14:45:15] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 2 +[25-May-2018 14:45:25] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 2 +[25-May-2018 14:45:34] ParseError: syntax error, unexpected '1.0' (T_DNUMBER), expecting ';' in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 3 +[25-May-2018 16:00:44] ParseError: syntax error, unexpected ',' in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 23 +[25-May-2018 16:01:00] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 1 +[25-May-2018 16:01:17] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.php at line 1 +[25-May-2018 16:04:00] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.html at line 1 +[25-May-2018 16:04:01] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.html at line 1 +[25-May-2018 16:04:10] RuntimeException: Flextype\Component\View\View::__construct(): The '/Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss' view does not exist. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/view/View.php at line 74 +[25-May-2018 16:04:19] ParseError: syntax error, unexpected 'version' (T_STRING) in /Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss.html at line 1 +[25-May-2018 16:07:03] RuntimeException: Flextype\Component\View\View::__construct(): The '/Applications/MAMP/htdocs/flextype/site/plugins/feed/views/templates/rss' view does not exist. in /Applications/MAMP/htdocs/flextype/vendor/flextype-components/view/View.php at line 74 diff --git a/site/pages/blog/1/page.md b/site/pages/blog/1/page.md new file mode 100755 index 00000000..cae19c6e --- /dev/null +++ b/site/pages/blog/1/page.md @@ -0,0 +1,33 @@ +--- +title: Welcome +description: Flextype is a simple and light-weighted Content Management System +template: default +--- + +## Flextype 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 Flextype, and then browse to the `/site/pages/home/` folder and open the `page.md` file in your editor. + +### Create a New page +Creating a new page is very simple in Flextype. + +1. Launch your text editor and paste this sample text: + + ``` + --- + title: My New Page + --- + # My New Page! + + This is the body of **My New Page** + ``` + +2. Save this file in the `/site/pages/my-new-page/` folder as `page.md` and its will be available by this url: [site_url]/my-new-page + +Image + +![Image]([imgholder]) + +That is it! diff --git a/site/pages/blog/2/page.md b/site/pages/blog/2/page.md new file mode 100755 index 00000000..cae19c6e --- /dev/null +++ b/site/pages/blog/2/page.md @@ -0,0 +1,33 @@ +--- +title: Welcome +description: Flextype is a simple and light-weighted Content Management System +template: default +--- + +## Flextype 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 Flextype, and then browse to the `/site/pages/home/` folder and open the `page.md` file in your editor. + +### Create a New page +Creating a new page is very simple in Flextype. + +1. Launch your text editor and paste this sample text: + + ``` + --- + title: My New Page + --- + # My New Page! + + This is the body of **My New Page** + ``` + +2. Save this file in the `/site/pages/my-new-page/` folder as `page.md` and its will be available by this url: [site_url]/my-new-page + +Image + +![Image]([imgholder]) + +That is it! diff --git a/site/pages/blog/page.md b/site/pages/blog/page.md new file mode 100755 index 00000000..cae19c6e --- /dev/null +++ b/site/pages/blog/page.md @@ -0,0 +1,33 @@ +--- +title: Welcome +description: Flextype is a simple and light-weighted Content Management System +template: default +--- + +## Flextype 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 Flextype, and then browse to the `/site/pages/home/` folder and open the `page.md` file in your editor. + +### Create a New page +Creating a new page is very simple in Flextype. + +1. Launch your text editor and paste this sample text: + + ``` + --- + title: My New Page + --- + # My New Page! + + This is the body of **My New Page** + ``` + +2. Save this file in the `/site/pages/my-new-page/` folder as `page.md` and its will be available by this url: [site_url]/my-new-page + +Image + +![Image]([imgholder]) + +That is it! diff --git a/site/plugins/feed/CHANGELOG.md b/site/plugins/feed/CHANGELOG.md new file mode 100755 index 00000000..5a68a7f9 --- /dev/null +++ b/site/plugins/feed/CHANGELOG.md @@ -0,0 +1,5 @@ +# v1.1.0, 2018-05-08 +* Updates for Flextype 0.3.0 + +# v1.0.0, 2018-03-26 +* Initial release diff --git a/site/plugins/feed/LICENSE.txt b/site/plugins/feed/LICENSE.txt new file mode 100755 index 00000000..3f865be1 --- /dev/null +++ b/site/plugins/feed/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Flextype + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/site/plugins/feed/README.md b/site/plugins/feed/README.md new file mode 100755 index 00000000..010bba62 --- /dev/null +++ b/site/plugins/feed/README.md @@ -0,0 +1,27 @@ +# Sitemap Plugin for [Flextype](http://flextype.org/) +![version](https://img.shields.io/badge/version-1.1.0-brightgreen.svg?style=flat-square "Version") +![Flextype](https://img.shields.io/badge/Flextype-0.x-green.svg?style=flat-square "Flextype Version") +[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/flextype-plugins/tiny-url/blob/master/LICENSE.txt) + +Sitemap plugin provide automatically generated XML sitemap for Flextype. + +## Installation +1. Unzip plugin to the folder `/site/plugins/` +2. Go to `/site/config/site.yaml` and add plugin name to plugins section. +3. Save your changes. + +Example: +``` +... +plugins: + - sitemap +``` + +## Settings + +```yaml +enabled: true # or `false` to disable the plugin +``` + +## License +See [LICENSE](https://github.com/flextype-plugins/sitemap/blob/master/LICENSE) diff --git a/site/plugins/feed/feed.php b/site/plugins/feed/feed.php new file mode 100755 index 00000000..b6033d72 --- /dev/null +++ b/site/plugins/feed/feed.php @@ -0,0 +1,40 @@ + + * @link http://flextype.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flextype; + +use Flextype\Component\{Event\Event, Http\Http, Arr\Arr, Registry\Registry}; + +$segments = Http::getUriSegments(); +//$uri_string = str_replace("/rss", "", Http::getUriString()); +$rss_uri = array_pop($segments); +//$page_uri = array_pop($segments); + +if ($rss_uri == 'rss') { + Event::addListener('onShortcodesInitialized', function () { + Http::setResponseStatus(200); + Http::setRequestHeaders('Content-Type: text/xml; charset=utf-8'); + + $_pages = Content::getPages(str_replace("/rss", "", Http::getUriString()), false, 'date'); + + foreach ($_pages as $page) { + if ($page['slug'] !== '404') { + $pages[] = $page; + } + } + + Themes::view('feed/views/templates/rss')->display(); + + Http::requestShutdown(); + }); +} diff --git a/site/plugins/feed/feed.yaml b/site/plugins/feed/feed.yaml new file mode 100755 index 00000000..cafb73cc --- /dev/null +++ b/site/plugins/feed/feed.yaml @@ -0,0 +1,13 @@ +name: Sitemap +version: 1.0.0 +description: "Provide automatically generated XML sitemap." +author: + name: Sergey Romanenko + email: awilum@yandex.ru + url: http://flextype.org +homepage: https://github.com/flextype-plugins/sitemap +bugs: https://github.com/flextype-plugins/sitemap/issues +license: MIT + +# Plugin settings +enabled: true diff --git a/site/plugins/feed/languages/en.yaml b/site/plugins/feed/languages/en.yaml new file mode 100755 index 00000000..7af0d0dc --- /dev/null +++ b/site/plugins/feed/languages/en.yaml @@ -0,0 +1,2 @@ +sitemap: "Sitemap" +sitemap_description: "Sitemap plugin provide automatically generated XML sitemap for Flextype." diff --git a/site/plugins/feed/languages/ru.yaml b/site/plugins/feed/languages/ru.yaml new file mode 100755 index 00000000..7af0d0dc --- /dev/null +++ b/site/plugins/feed/languages/ru.yaml @@ -0,0 +1,2 @@ +sitemap: "Sitemap" +sitemap_description: "Sitemap plugin provide automatically generated XML sitemap for Flextype." diff --git a/site/plugins/feed/views/templates/rss.html b/site/plugins/feed/views/templates/rss.html new file mode 100755 index 00000000..aac5e65d --- /dev/null +++ b/site/plugins/feed/views/templates/rss.html @@ -0,0 +1,3 @@ + + + diff --git a/site/plugins/imgholder/CHANGELOG.md b/site/plugins/imgholder/CHANGELOG.md new file mode 100755 index 00000000..76181528 --- /dev/null +++ b/site/plugins/imgholder/CHANGELOG.md @@ -0,0 +1,2 @@ +# v1.0.0, 2018-05-25 +* Initial release diff --git a/site/plugins/imgholder/LICENSE.txt b/site/plugins/imgholder/LICENSE.txt new file mode 100755 index 00000000..3f865be1 --- /dev/null +++ b/site/plugins/imgholder/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Flextype + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/site/plugins/imgholder/README.md b/site/plugins/imgholder/README.md new file mode 100755 index 00000000..21dd8745 --- /dev/null +++ b/site/plugins/imgholder/README.md @@ -0,0 +1,89 @@ +# Imgholder Plugin for [Flextype](http://flextype.org/) +![version](https://img.shields.io/badge/version-1.0.0-brightgreen.svg?style=flat-square "Version") +![Flextype](https://img.shields.io/badge/Flextype-0.x-green.svg?style=flat-square "Flextype Version") +[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/flextype-plugins/imgholder/blob/master/LICENSE.txt) + +Imgholder plugin to create placeholder images for Flextype + +## Installation +1. Unzip plugin to the folder `/site/plugins/` +2. Go to `/site/config/site.yaml` and add plugin name to plugins section. +3. Save your changes. + +Example: +``` +plugins: + - imgholder +``` + +## Usage in page content + +Simple usage + +``` +![Image]([imgholder]) +``` + +Set width and height + +``` +![Image]([imgholder width=200 height=200]) +``` + +Set text color + +``` +![Image]([imgholder width=200 height=200 text_color=white]) +``` + +Set background color + +``` +![Image]([imgholder width=200 height=200 text_color=white bg_color=black]) +``` + +Set text + +``` +![Image]([imgholder width=200 height=200 text_color=white bg_color=black text_color=white text='Pixel']) +``` + +Set font name + +``` +![Image]([imgholder width=200 height=200 text_color=white bg_color=black text_color=white text='Pixel' font_name=roboto]) +``` + +Set font size + +``` +![Image]([imgholder width=200 height=200 text_color=white bg_color=black text_color=white text='Pixel' font_name=roboto font_size=12]) +``` + +Set image extension + +``` +![Image]([imgholder width=200 height=200 text_color=white bg_color=black text_color=white text='Pixel' font_name=roboto font_size=12 ext="png"]) +``` + +## Usage in template +``` + +``` + +## Options + +| name | value | description | +|---|---|---| +| enabled | true | or `false` to disable the plugin | +| width | 300 | Image width | +| height | 200 | Image height | +| text_color | white | Image text color | +| bg_color | white | Image bg color | +| text | Imgholder | Image text | +| font_name | Imgholder | Image font name (roboto, arial, bebas, bitter, corki, debby, fashon fetish, gtw, kelson, matias, ptsans, ptsans italic, ptserif, robotoslab, tahoma) | +| font_size | 12 | Image font size | +| ext | png | Image extension | + +## License +See [LICENSE](https://github.com/flextype-plugins/imgholder/blob/master/LICENSE) diff --git a/site/plugins/imgholder/imgholder.php b/site/plugins/imgholder/imgholder.php new file mode 100755 index 00000000..375104ae --- /dev/null +++ b/site/plugins/imgholder/imgholder.php @@ -0,0 +1,57 @@ + + * @link http://flextype.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flextype; + +use Thunder\Shortcode\Shortcode\ShortcodeInterface; +use Flextype\Component\{Event\Event, Registry\Registry}; + +// +// Shortcode: [imgholder text="test"] +// +Event::addListener('onShortcodesInitialized', function () { + Content::shortcode()->addHandler('imgholder', function(ShortcodeInterface $s) { + return imgholder($s->getParameter('text'), + $s->getParameter('width'), + $s->getParameter('height'), + $s->getParameter('bg_color'), + $s->getParameter('text_color'), + $s->getParameter('ext'), + $s->getParameter('font_name'), + $s->getParameter('font_size') + ); + }); +}); + +/** + * Return Pixel Image + * + * @param string $text Image text + * @param int $width Image width + * @param int $height Image height + * @param string $category Image category + * @param bool $gray Image category + * @return string + */ +function imgholder(string $text = null, int $width = null, int $height = null, string $bg_color = null, string $text_color = null, string $ext = null, string $font_name = null, string $font_size = null) : string +{ + (isset($width)) and $width = $width.'x' or $width = Registry::get('plugins.imgholder.width').'x'; + (isset($height)) and $height = $height.'/' or $height = Registry::get('plugins.imgholder.height').'/'; + (isset($bg_color)) and $bg_color = $bg_color.'/' or $bg_color = Registry::get('plugins.imgholder.bg_color').'/'; + (isset($text_color)) and $text_color = $text_color or $text_color = Registry::get('plugins.imgholder.text_color'); + (isset($ext)) and $ext = '.'.$ext or $ext = '.'.Registry::get('plugins.imgholder.ext'); + (isset($text)) and $text = '&text='.$text or $text = '&text='.Registry::get('plugins.imgholder.text'); + (isset($font_name)) and $font_name = '&font='.$font_name or $font_name = '&font='.Registry::get('plugins.imgholder.font_name'); + (isset($font_size)) and $font_size = '&fz='.$font_size or $font_size = '&fz='.Registry::get('plugins.imgholder.font_size'); + return rtrim('https://imgholder.ru/'.$width.$height.$bg_color.$text_color.$ext.$text.$font_name.$font_size, '/\\'); +} diff --git a/site/plugins/imgholder/imgholder.yaml b/site/plugins/imgholder/imgholder.yaml new file mode 100755 index 00000000..c799673f --- /dev/null +++ b/site/plugins/imgholder/imgholder.yaml @@ -0,0 +1,21 @@ +name: Imgholder +version: 1.0.0 +description: "Imgholder plugin to create placeholder images for Flextype" +author: + name: Sergey Romanenko + email: awilum@yandex.ru + url: http://flextype.org +homepage: https://github.com/flextype-plugins/imgholder +bugs: https://github.com/flextype-plugins/imgholder/issues +license: MIT + +# Plugin settings +enabled: true +width: 400 +height: 200 +text: 'Imgholder' +bg_color: black +text_color: white +ext: png +font_name: roboto +font_size: 50 diff --git a/site/plugins/imgholder/languages/en.yaml b/site/plugins/imgholder/languages/en.yaml new file mode 100755 index 00000000..993dff52 --- /dev/null +++ b/site/plugins/imgholder/languages/en.yaml @@ -0,0 +1,2 @@ +imgholder: "Imgholder" +imgholder_description: "Imgholder plugin to create placeholder images for Flextype" diff --git a/site/plugins/imgholder/languages/ru.yaml b/site/plugins/imgholder/languages/ru.yaml new file mode 100755 index 00000000..993dff52 --- /dev/null +++ b/site/plugins/imgholder/languages/ru.yaml @@ -0,0 +1,2 @@ +imgholder: "Imgholder" +imgholder_description: "Imgholder plugin to create placeholder images for Flextype" diff --git a/site/plugins/maintenance/CHANGELOG.md b/site/plugins/maintenance/CHANGELOG.md new file mode 100755 index 00000000..1d72694d --- /dev/null +++ b/site/plugins/maintenance/CHANGELOG.md @@ -0,0 +1,2 @@ +# v1.0.0, 2018-05-24 +* Initial release diff --git a/site/plugins/maintenance/LICENSE.txt b/site/plugins/maintenance/LICENSE.txt new file mode 100755 index 00000000..3f865be1 --- /dev/null +++ b/site/plugins/maintenance/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Flextype + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/site/plugins/maintenance/README.md b/site/plugins/maintenance/README.md new file mode 100755 index 00000000..d6a646e7 --- /dev/null +++ b/site/plugins/maintenance/README.md @@ -0,0 +1,32 @@ +# Maintenance Plugin for [Flextype](http://flextype.org/) +![version](https://img.shields.io/badge/version-1.0.0-brightgreen.svg?style=flat-square "Version") +![Flextype](https://img.shields.io/badge/Flextype-0.x-green.svg?style=flat-square "Flextype Version") +[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/flextype-plugins/maintenance/blob/master/LICENSE.txt) + +Maintenance plugin allow you to close the website for maintenance. + +## Installation +1. Unzip plugin to the folder `/site/plugins/` +2. Go to `/site/config/site.yaml` and add plugin name to plugins section. +3. Save your changes. + +Example: +``` +... +plugins: + - maintenance +``` + +## Settings + +```yaml +enabled: true # or `false` to disable the plugin +activated: true # or `false` to deactivate the maintenance mode +msg_title: "" # Title +msg_description: "" # Description +bg_img: "" # Background image + +``` + +## License +See [LICENSE](https://github.com/flextype-plugins/maintenance/blob/master/LICENSE) diff --git a/site/plugins/maintenance/languages/en.yaml b/site/plugins/maintenance/languages/en.yaml new file mode 100755 index 00000000..17dc917e --- /dev/null +++ b/site/plugins/maintenance/languages/en.yaml @@ -0,0 +1,2 @@ +maintenance: "Maintenance" +maintenance_description: "Maintenance plugin allow you to close the website for maintenance." diff --git a/site/plugins/maintenance/languages/ru.yaml b/site/plugins/maintenance/languages/ru.yaml new file mode 100755 index 00000000..17dc917e --- /dev/null +++ b/site/plugins/maintenance/languages/ru.yaml @@ -0,0 +1,2 @@ +maintenance: "Maintenance" +maintenance_description: "Maintenance plugin allow you to close the website for maintenance." diff --git a/site/plugins/maintenance/maintenance.php b/site/plugins/maintenance/maintenance.php new file mode 100755 index 00000000..04a39c7b --- /dev/null +++ b/site/plugins/maintenance/maintenance.php @@ -0,0 +1,25 @@ + + * @link http://flextype.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flextype; + +use Flextype\Component\{Event\Event, Http\Http, Registry\Registry}; + +if (Registry::get('plugins.maintenance.activated')) { + Event::addListener('onPageBeforeRender', function () { + Http::setResponseStatus(503); + Http::setRequestHeaders('Content-Type: text/html; charset=utf-8'); + Themes::view('maintenance/views/templates/maintenance')->display(); + Http::requestShutdown(); + }); +} diff --git a/site/plugins/maintenance/maintenance.yaml b/site/plugins/maintenance/maintenance.yaml new file mode 100755 index 00000000..5af8b9b6 --- /dev/null +++ b/site/plugins/maintenance/maintenance.yaml @@ -0,0 +1,17 @@ +name: Maintenance +version: 1.0.0 +description: "Maintenance plugin allow you to close the website for maintenance." +author: + name: Sergey Romanenko + email: awilum@yandex.ru + url: http://flextype.org +homepage: https://github.com/flextype-plugins/maintenance +bugs: https://github.com/flextype-plugins/maintenance/issues +license: MIT + +# Plugin settings +enabled: true +activated: true +msg_title: "Maintenance mode is on" +msg_description: "Website will be available soon" +bg_img: "https://drscdn.500px.org/photo/224178849/m%3D900/v2?user_id=688458&webp=true&sig=eb8fb384b2a66f8febbaf8d5b57a1e14e652f8a70e879df14e1b3369974d3332" diff --git a/site/plugins/maintenance/views/templates/maintenance.php b/site/plugins/maintenance/views/templates/maintenance.php new file mode 100755 index 00000000..27b68dc2 --- /dev/null +++ b/site/plugins/maintenance/views/templates/maintenance.php @@ -0,0 +1,68 @@ + + + + + + + + + + + + <?php echo Registry::get('plugins.maintenance.msg_title'); ?> | <?php echo Registry::get('site.title'); ?> + + + + + + +
+

+

+
+ + diff --git a/site/plugins/pixel/CHANGELOG.md b/site/plugins/pixel/CHANGELOG.md new file mode 100755 index 00000000..1d72694d --- /dev/null +++ b/site/plugins/pixel/CHANGELOG.md @@ -0,0 +1,2 @@ +# v1.0.0, 2018-05-24 +* Initial release diff --git a/site/plugins/pixel/LICENSE.txt b/site/plugins/pixel/LICENSE.txt new file mode 100755 index 00000000..3f865be1 --- /dev/null +++ b/site/plugins/pixel/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Flextype + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/site/plugins/pixel/README.md b/site/plugins/pixel/README.md new file mode 100755 index 00000000..2e7cca7d --- /dev/null +++ b/site/plugins/pixel/README.md @@ -0,0 +1,67 @@ +# Pixel Plugin for [Flextype](http://flextype.org/) +![version](https://img.shields.io/badge/version-1.0.0-brightgreen.svg?style=flat-square "Version") +![Flextype](https://img.shields.io/badge/Flextype-0.x-green.svg?style=flat-square "Flextype Version") +[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/flextype-plugins/pixel/blob/master/LICENSE.txt) + +Pixel plugin to create placeholder images for Flextype + +## Installation +1. Unzip plugin to the folder `/site/plugins/` +2. Go to `/site/config/site.yaml` and add plugin name to plugins section. +3. Save your changes. + +Example: +``` +plugins: + - pixel +``` + +## Usage in page content + +Simple usage + +``` +![Image]([pixel]) +``` + +Set width and height + +``` +![Image]([pixel width=200 height=200]) +``` + +Set category name + +``` +![Image]([pixel width=200 height=200 category=city]) +``` + +Set gray filter + +``` +![Image]([pixel width=200 height=200 category=city gray=true]) +``` + +Set text + +``` +![Image]([pixel width=200 height=200 category=city gray=true text='Pixel']) +``` + +## Usage in template +``` +" alt=""> +``` + +## Options + +| name | value | description | +|---|---|---| +| enabled | true | or `false` to disable the plugin | +| width | 300 | Image width | +| height | 200 | Image height | +| category | sports | Image category (abstract, animals, business, cats, city, food, night, life, fashion, people, nature, sports, technics, transport) | +| text | '' | Image text | + +## License +See [LICENSE](https://github.com/flextype-plugins/pixel/blob/master/LICENSE) diff --git a/site/plugins/pixel/languages/en.yaml b/site/plugins/pixel/languages/en.yaml new file mode 100755 index 00000000..51705765 --- /dev/null +++ b/site/plugins/pixel/languages/en.yaml @@ -0,0 +1,2 @@ +pixel: "Pixel" +pixel_description: "Maintenance plugin allow you to close the website for maintenance." diff --git a/site/plugins/pixel/languages/ru.yaml b/site/plugins/pixel/languages/ru.yaml new file mode 100755 index 00000000..a44939a9 --- /dev/null +++ b/site/plugins/pixel/languages/ru.yaml @@ -0,0 +1,2 @@ +pixel: "Pixel" +pixel_description: "Pixel plugin to create placeholder images for Flextype" diff --git a/site/plugins/pixel/pixel.php b/site/plugins/pixel/pixel.php new file mode 100755 index 00000000..f0880623 --- /dev/null +++ b/site/plugins/pixel/pixel.php @@ -0,0 +1,50 @@ + + * @link http://flextype.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flextype; + +use Thunder\Shortcode\Shortcode\ShortcodeInterface; +use Flextype\Component\{Event\Event, Registry\Registry}; + +// +// Shortcode: [pixel text="test"] +// +Event::addListener('onShortcodesInitialized', function () { + Content::shortcode()->addHandler('pixel', function(ShortcodeInterface $s) { + return pixel($s->getParameter('text'), + $s->getParameter('width'), + $s->getParameter('category'), + $s->getParameter('gray') + ); + }); +}); + +/** + * Return Pixel Image + * + * @param string $text Image text + * @param int $width Image width + * @param int $height Image height + * @param string $category Image category + * @param bool $gray Image category + * @return string + */ +function pixel(string $text, $width = null, $height = null, $category = null, bool $gray = true) : string +{ + (isset($gray) && $gray == true) and $gray = 'g/' or $gray = ''; + (isset($width)) and $width = $width.'/' or $width = Registry::get('plugins.pixel.width').'/'; + (isset($height)) and $height = $height.'/' or $height = Registry::get('plugins.pixel.height').'/'; + (isset($category)) and $category = $category.'/' or $category = Registry::get('plugins.pixel.category').'/'; + (isset($text)) and $text = $text.'/' or $text = ''; + return rtrim('http://lorempixel.com/'.$gray.$width.$height.$category.$text, '/\\'); +} diff --git a/site/plugins/pixel/pixel.yaml b/site/plugins/pixel/pixel.yaml new file mode 100755 index 00000000..874f961d --- /dev/null +++ b/site/plugins/pixel/pixel.yaml @@ -0,0 +1,17 @@ +name: Pixel +version: 1.0.0 +description: "Pixel plugin to create placeholder images for Flextype" +author: + name: Sergey Romanenko + email: awilum@yandex.ru + url: http://flextype.org +homepage: https://github.com/flextype-plugins/pixel +bugs: https://github.com/flextype-plugins/pixel/issues +license: MIT + +# Plugin settings +enabled: true +width: 400 +height: 200 +category: sports +text: '' diff --git a/site/plugins/robots/CHANGELOG.md b/site/plugins/robots/CHANGELOG.md new file mode 100755 index 00000000..fc1ef5a4 --- /dev/null +++ b/site/plugins/robots/CHANGELOG.md @@ -0,0 +1,2 @@ +# v1.0.0, 2018-05-27 +* Initial release diff --git a/site/plugins/robots/LICENSE.txt b/site/plugins/robots/LICENSE.txt new file mode 100755 index 00000000..3f865be1 --- /dev/null +++ b/site/plugins/robots/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2018 Flextype + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/site/plugins/robots/README.md b/site/plugins/robots/README.md new file mode 100755 index 00000000..f413b987 --- /dev/null +++ b/site/plugins/robots/README.md @@ -0,0 +1,28 @@ +# Robots Plugin for [Flextype](http://flextype.org/) +![version](https://img.shields.io/badge/version-1.0.0-brightgreen.svg?style=flat-square "Version") +![Flextype](https://img.shields.io/badge/Flextype-0.x-green.svg?style=flat-square "Flextype Version") +[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/flextype-plugins/robots/blob/master/LICENSE.txt) + +Robots plugin to generate a robots.txt file for your site. + +## Installation +1. Unzip plugin to the folder `/site/plugins/` +2. Go to `/site/config/site.yaml` and add plugin name to plugins section. +3. Save your changes. + +Example: +``` +... +plugins: + - robots +``` + +## Settings + +```yaml +enabled: true # or `false` to disable the plugin + +``` + +## License +See [LICENSE](https://github.com/flextype-plugins/robots/blob/master/LICENSE) diff --git a/site/plugins/robots/languages/en.yaml b/site/plugins/robots/languages/en.yaml new file mode 100755 index 00000000..01a64f9b --- /dev/null +++ b/site/plugins/robots/languages/en.yaml @@ -0,0 +1,2 @@ +robots: "Robots" +robots_description: "Robots plugin to generate a robots.txt file for your site." diff --git a/site/plugins/robots/languages/ru.yaml b/site/plugins/robots/languages/ru.yaml new file mode 100755 index 00000000..01a64f9b --- /dev/null +++ b/site/plugins/robots/languages/ru.yaml @@ -0,0 +1,2 @@ +robots: "Robots" +robots_description: "Robots plugin to generate a robots.txt file for your site." diff --git a/site/plugins/robots/robots.php b/site/plugins/robots/robots.php new file mode 100755 index 00000000..5ef3221b --- /dev/null +++ b/site/plugins/robots/robots.php @@ -0,0 +1,25 @@ + + * @link http://flextype.org + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flextype; + +use Flextype\Component\{Event\Event, Http\Http}; + +if (Http::getUriSegment(0) == 'robots.txt') { + Event::addListener('onPageBeforeRender', function () { + Http::setResponseStatus(200); + Http::setRequestHeaders('Content-Type: text/plain; charset=utf-8'); + Themes::view('robots/views/templates/robots')->display(); + Http::requestShutdown(); + }); +} diff --git a/site/plugins/robots/robots.yaml b/site/plugins/robots/robots.yaml new file mode 100755 index 00000000..50a29740 --- /dev/null +++ b/site/plugins/robots/robots.yaml @@ -0,0 +1,13 @@ +name: Robots +version: 1.0.0 +description: "Robots plugin to generate a robots.txt file for your site." +author: + name: Sergey Romanenko + email: awilum@yandex.ru + url: http://flextype.org +homepage: https://github.com/flextype-plugins/robots +bugs: https://github.com/flextype-plugins/robots/issues +license: MIT + +# Plugin settings +enabled: true diff --git a/robots.txt b/site/plugins/robots/views/templates/robots.php similarity index 100% rename from robots.txt rename to site/plugins/robots/views/templates/robots.php