diff --git a/.gitignore b/.gitignore index 834721c..ebb3b9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_Store /site/accounts /site/cache +/site/config/.license /site/sessions /media /content @@ -8,4 +9,4 @@ /video /publication -google*.html \ No newline at end of file +google*.html diff --git a/modules/columns-plugin/index.php b/modules/columns-plugin/index.php deleted file mode 100644 index 1d7646a..0000000 --- a/modules/columns-plugin/index.php +++ /dev/null @@ -1,28 +0,0 @@ - [ - 'kirbytags:before' => function ($text, array $data = []) { - - $text = preg_replace_callback('!\(columns(…|\.{3})\)(.*?)\((…|\.{3})columns\)!is', function($matches) use($text, $data) { - - $columns = preg_split('!(\n|\r\n)\+{4}\s+(\n|\r\n)!', $matches[2]); - $html = []; - $classItem = $this->option('kirby.columns.item', 'column'); - $classContainer = $this->option('kirby.columns.container', 'columns'); - - foreach ($columns as $column) { - $html[] = '
' . $this->kirbytext($column, $data) . '
'; - } - - return '
' . implode($html) . '
'; - - }, $text); - - return $text; - } - - ] -]);