Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
coenjacobs committed Jan 23, 2020
0 parents commit 7042a5d
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
15 changes: 15 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "level-level/twig-loader",
"type": "wordpress-plugin",
"authors": [
{
"name": "Coen Jacobs",
"email": "coen@level-level.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"twig/twig": "^1.42"
}
}
142 changes: 142 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions twig-loader.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

/**
* Plugin Name: Twig Loader
* Description: Loads the Twig template engine where it hasn't been included by the theme.
* Version: 1.0.0
* Author: Level Level
* Author URI: https://www.level-level.com
*/

require_once(dirname(__FILE__ ). '/vendor/autoload.php');

0 comments on commit 7042a5d

Please sign in to comment.