From 6c0770b60fba82d969fa195b3479c3ef2841603d Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sun, 24 Jan 2021 23:24:04 +0100 Subject: [PATCH] [TIDY] ignore license file, remove old stuff --- .gitignore | 3 ++- modules/columns-plugin/index.php | 28 ---------------------------- 2 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 modules/columns-plugin/index.php 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; - } - - ] -]);