diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0ec13d1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +end_of_line = lf +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{html,twig,md}] +indent_size = 2 + +[*.php] +charset = utf-8 +indent_style = tab +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false diff --git a/container.php b/container.php index feabdc9..fc7d20b 100644 --- a/container.php +++ b/container.php @@ -13,7 +13,9 @@ $container['allowed_post_types'] = function($c) { return [ 'post', - 'longform' + 'longform', + 'sponsored_post', + 'sponsored_longform' ]; };