Skip to content

Commit 3e176a3

Browse files
committed
Initial commit
0 parents  commit 3e176a3

File tree

7 files changed

+85
-0
lines changed

7 files changed

+85
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
.DS_Store
3+
/vendor

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 kylekatarnls
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

Plugin.php

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?php
2+
3+
namespace Pug\October;
4+
5+
use App;
6+
use System\Classes\PluginBase;
7+
8+
/**
9+
* Pug (ex-Jade) Plugin.
10+
*
11+
* @see https://www.phug-lang.com
12+
*/
13+
class Plugin extends PluginBase
14+
{
15+
/**
16+
* Returns information about this plugin.
17+
*
18+
* @return array
19+
*/
20+
public function pluginDetails()
21+
{
22+
return [
23+
'name' => 'Pug (ex-Jade)',
24+
'description' => 'Use Pug (ex-Jade) templates in OctoberCMS.',
25+
'author' => 'kylekatarnls',
26+
'icon' => 'icon-pug',
27+
'homepage' => 'https://github.com/pug-php/oc-pug-plugin',
28+
];
29+
}
30+
31+
/**
32+
* Register the laravel service provider.
33+
*/
34+
public function boot()
35+
{
36+
App::register('\\Bkwld\\LaravelPug\\ServiceProvider');
37+
}
38+
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Pug (ex-Jade) for October CMS

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "pug/oc-pug-plugin",
3+
"type": "october-plugin",
4+
"extra": {
5+
"installer-name": "pug"
6+
},
7+
"keywords": ["pug", "jade", "october", "cms"],
8+
"description": "Use Pug (ex-Jade) templates in October CMS",
9+
"license": "MIT",
10+
"authors": [
11+
{
12+
"name": "kylekatarnls",
13+
"homepage": "https://www.phug-lang.com"
14+
}
15+
],
16+
"require": {
17+
"bkwld/laravel-pug": "^1.5"
18+
},
19+
"minimum-stability": "stable"
20+
}

pug.png

14.1 KB
Loading

updates/version.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0: Initial release

0 commit comments

Comments
 (0)